/
Sentry Search Guide
Sentry Search Guide
Sentry provides a robust search function that requires some guidance to use effectively. Within a project, access the search function in the search box:
Queries are constructed using a token:value pattern. For example:
is:resolved user.username:"Jane Doe" server:web-8 example error
Here are some useful search tags you can use:
Use | Tag | Value restrictions/notes |
---|---|---|
Restrict results to issues which have any value for a tag. | has | e.g. "has:user" would restrict to only events that have some value for user |
User search | user.id user.email | User ID matches user_customuser.id value in Sighten. |
Restrict results to issues created since age . The syntax is similar to the unix find command: | age | Issues new in the last 24 hours:
Issues older than 12 hours:
Issues created between 12 and 24 hours ago:
Supported suffixes:
|
Restrict results to issues in which an event occurred at the given timestamp. This filter can be passed twice to provide a range. | event.timestamp | Events occurred on January 2nd 2016:
Events between 01:00 and 02:00 (UTC):
The following comparative operators are available:
|
Search by message ID (for specific event) | msg_id | e.g. msg_id:8Z0U492BHE |
Additional information provided by Sentry can be found here.