Logs in Sentry 🚀 #86804
Replies: 30 comments 43 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.
-
What an exciting feature! I have one concern: How will this affect data caps? |
Beta Was this translation helpful? Give feedback.
-
Can you please add us to the preview? Our slug is |
Beta Was this translation helpful? Give feedback.
-
Looks great, can you please add |
Beta Was this translation helpful? Give feedback.
-
Question for everyone - How important is the ability to attach stacktraces to your logs? Do you do this often today? |
Beta Was this translation helpful? Give feedback.
-
This is exciting to see. We use |
Beta Was this translation helpful? Give feedback.
-
I am super happy to see this! I just spent a full day trying—and being disappointed by—the logging services I used to use like Papertail and Loggly. Both are now Solarwinds products and are basically being killed off, as far as I could tell. I did check the Sentry current docs and didn't see anything yet, so I set up a trial at Datadog. It definitely works, but I'd much prefer to keep everything at Sentry.io. My use case is web apps and console apps written in:
My organization's slug is Rails -> Dokku -> Vector -> Datadog I configured Rails to create JSON-formatted logs, which Datadog can use and optionally map to its vocabulary. They have a blog post which I followed. Here's an example log entry from my Rails app:
It'd be nice to support Vector, because it's pretty easy to use with Dokku. |
Beta Was this translation helpful? Give feedback.
-
i'd love for |
Beta Was this translation helpful? Give feedback.
-
We, |
Beta Was this translation helpful? Give feedback.
-
Count us ( |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Is Go support being discussed at all? We're intrigued about this idea but we couldn't fully use it until it supports both JavaScript and Go at minimum. |
Beta Was this translation helpful? Give feedback.
-
Hi Everyone !! We have rolled out Logs to everyone who asked for access on this discussion or emailed us! 🚀 🚀 You should see this under Explore->Logs in the UX To get started, you will need to make a few (small) changes to your code. Setup Instructions are here: Javascript instructions If you have questions or feedback, we’d love to hear from you - You can also join us on Discord to chat with us live |
Beta Was this translation helpful? Give feedback.
-
If it's still possible to be added to the list, can |
Beta Was this translation helpful? Give feedback.
-
Could org Also I wish to second the request for Vector support. It is more reliable to ship logs from process output rather than relying entirely on an SDK-based integration in application code; this allows logging of startup errors that occur before app initialisation, for example. Plus there's all kinds of server processes (web servers, databases, etc) that users may want to capture logs from but which aren't their own source code. |
Beta Was this translation helpful? Give feedback.
-
Hi All, We're iterating based on your feedback ! So please keep the feedback coming 🙏 We've shipped the following today:
Next set of items we're looking at
Lots more to come! |
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.11.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.11.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