Logs
Structured logs allow you to send, view and query logs and parameters sent from your applications within Sentry.
With Structured Logs, users can send text based log information from their applications, whether frontend or backend, to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual parameters.
Not everything that you want to track in your application generates an error event. You might want to arbitrarily track information happening in your application for many reasons, such as:
- Debugging information like navigation actions, page interactions, or query results
- User specific events
- Configuration items that users or an application are receiving
To get started with Logs, navigate to the Getting Started and select your SDK from the list.
Raw text search is case sensitive and allows you to search for specific strings within log entries.
You can also search using the default properties (like severity
) or additional custom properties that you've added to your log entries.
Log entries can be expanded to view all properties of logs entry. Individual properties can be added as columns to the results view, allowing you to quickly view properties that matter specifically to you alongside your search results.
You can also enable auto refreshing of the logs view to see your latest logs as they come in.
Conditions in which auto-refresh is disabled:
- Auto-refresh is only supported when sorting by time in descending order.
- Auto-refresh is only supported when using a relative time period, like "Last 15 minutes" or "Last 7 days", not absolute dates like "2025-07-23".
- Auto-refresh is disabled due to high data volume (100 logs per second). Try adding a filter to reduce the number of logs.
- Auto-refresh wil be disabled due to reaching a max auto-refresh time of 10 minutes.
- Auto-refresh will be disabled if there is an error fetching logs.
- Auto-refresh is not available in the aggregates view.
You can create Alert rules and dashboard widgets based on your log queries.
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").