Logs in Sentry 🚀 #86804
Replies: 45 comments 62 replies
-
For us search isn't really that super important. Triggering alarms would be the main thing we would be interested in. |
Beta Was this translation helpful? Give feedback.
-
could you add the org |
Beta Was this translation helpful? Give feedback.
-
Hi, looking forward to seeing what you do with this feature 🤩 ! Can you add this to our org |
Beta Was this translation helpful? Give feedback.
-
looks great! Interested in the beta :) |
Beta Was this translation helpful? Give feedback.
-
Will you support mobile SDKs in the future? If so, will you also consider processing everything on-device, and allow us to configure settings such that logs are pushed only when there's an error, and not simply push all logs to Sentry? Use case: When there is an Example:
|
Beta Was this translation helpful? Give feedback.
-
Can’t wait, always wish this was integrated, it’s really an AIO now! Would love to participate in the beta ( |
Beta Was this translation helpful? Give feedback.
-
Hi, could you add |
Beta Was this translation helpful? Give feedback.
-
I'd love to try out logging as well @ Perhaps, some kind of pattern matching (regex?) alert would be really useful. |
Beta Was this translation helpful? Give feedback.
-
This is awesome! Very happy to see logging added to Sentry! |
Beta Was this translation helpful? Give feedback.
-
Could |
Beta Was this translation helpful? Give feedback.
-
This is really nice to see. Is this feature intended to only collect logs from the things integrated with the Sentry SDK? Or are there plans to ultimately support log shipping from other sources into the Sentry UI, too? |
Beta Was this translation helpful? Give feedback.
-
Please let me know if we can get some access at the slug qliktechnologies :) |
Beta Was this translation helpful? Give feedback.
-
Will it also be available in a self-hosted version? |
Beta Was this translation helpful? Give feedback.
-
Sounds great! Can we use it from sentry-native? 🙏 |
Beta Was this translation helpful? Give feedback.
-
would love to try this out with our team! |
Beta Was this translation helpful? Give feedback.
-
We enabled it on our self-hosted Sentry yesterday and it looks very promising! This would really help us to have logs alongside errors and traces 😃 Because of legal reasons, we might have to treat log data differently than the other data, is there any documentation where these logs are stored exactly? |
Beta Was this translation helpful? Give feedback.
-
Hello ! Could you please add Thanks ! 🙏 |
Beta Was this translation helpful? Give feedback.
-
Could you please add: |
Beta Was this translation helpful? Give feedback.
-
Wow! Thanks for providing this feature!!! Please add |
Beta Was this translation helpful? Give feedback.
-
Hi! Would it be possible to add the |
Beta Was this translation helpful? Give feedback.
-
This looks great! Happy to try out in our org |
Beta Was this translation helpful? Give feedback.
-
Hi @Dhrumil-Sentry , |
Beta Was this translation helpful? Give feedback.
-
We've added tracking tasks for other SDKs we'd like to support. Please subscribe to those issues to track when we'll add logging support for that specific SDK:
|
Beta Was this translation helpful? Give feedback.
-
Hi Everyone ! We just rolled out log count charts to every org that has access - You should see these count charts and they reflect the log searches you make Please let us know if you have any feedback ! |
Beta Was this translation helpful? Give feedback.
-
Hi @Dhrumil-Sentry, could you please add Thank you! |
Beta Was this translation helpful? Give feedback.
-
@Dhrumil-Sentry please add synergyfa please. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hi @Dhrumil-Sentry , please add 'nutrien', thank you, we really need this! |
Beta Was this translation helpful? Give feedback.
-
Hello! @Dhrumil-Sentry could you please add |
Beta Was this translation helpful? Give feedback.
-
We at |
Beta Was this translation helpful? Give feedback.
-
Hey can you please add |
Beta Was this translation helpful? Give feedback.
-
TL;DR
Sentry is adding support for structured logs, so you can view and query your logs alongside your traces and errors—all in one place.
We currently support Logs from JavaScript and Python. You can find the SDK instructions below:
JavaScript SDK
9.12.0
or higher. Instructions here.Python SDK
2.25.1
or higher. Instructions here.Want early access? Comment below with your org slug or email [email protected] with your org slug, and we’ll get you set up.
For more details, keep reading or join the discussion below!
One of the biggest asks we've heard from our users is that you'd like to have the ability to send logs to Sentry, to have a single pane of glass for all your observability needs.
For those of you that have been with us for a while, you know we've always had some opinions about logging and how we’re focused on errors-first troubleshooting. However, we recognize that for many developers, log statements often provide valuable context for identifying and correcting problems.
To that end, we're happy to announce that we're adding support for logs in Sentry. Soon, you'll be able to send logs to Sentry and view them alongside traces & errors.
Read more details on how we're implementing support for logs, the "Sentry way" (or, if you'd like, Sentry's version). ⬇️
What can you do with Logs in Sentry?
Why Logs in Sentry?
When debugging, logs, traces, and errors work better together. Logs provide the granular context—like retries, API failures, and internal state—that spans and errors can miss. But in most tools today, logs live in a separate system, forcing you to switch between tools to piece together the full picture.
With logs in Sentry, everything is in one place. You can see logs right alongside your errors and traces—no more context switching, just faster debugging.
Getting started is just as easy as adding a
console.log
orlogger.info
. Our SDKs handle the heavy lifting, automatically linking your logs to traces and errors so you get the full context with minimal setup.Also - We're supporting structured logging that will support passing variables in a string template directly - We'll extract your variables and the template as attributes of the log that you can query
Supported SDKs: What’s Available and What’s Next
We’re kicking things off with JavaScript (including TypeScript and frameworks like NextJS, etc), and support for Python will be available in the next two weeks. More languages will follow as we expand logging support across our SDKs.
We’re also working on seamless integrations with popular logging frameworks. That means no major rewrites—just flip a switch at the SDK level, and your logs will start flowing into Sentry alongside your traces and errors.
Getting Access: Be the First to Try Logs in Sentry
We’re rolling out logs support to a limited set of customers first, and we’d love your feedback. If you want early access, reply to our GitHub discussion with your organization slug or email us at [email protected].
Here’s what to expect:
SDK Support
JavaScript SDK
9.12.0
or higher. Instructions here.Python SDK
2.25.1
or higher. Instructions here.We'll be actively adding support for more SDKs over the coming weeks, but if you want to see a specific SDK prioritized, please leave a comment!
What Feedback Are We Looking For?
Your input will help us refine our Logs as we work towards general availability.
Drop your thoughts below, or email us directly at [email protected]. We’re looking forward to hearing from you!
Beta Was this translation helpful? Give feedback.
All reactions