Skip to main content

How do I search for events in a time range?

Updated over a month ago

Issue

I want to search for events in Sentry with a specific time frame.

Applies To

  • All SaaS Customers and Self-Hosted Users

  • Search

Resolution

The issue search understands a variety of tags, including "age" and "event.timestamp". Search returns Issues which have at least one occurrence or event matching your query.

Age: age always relative to the current time, and respects h, d, and w.

example: age:-24h (Issues new in the last 24 hours)

Timestamp: event.timestamp is an absolute tag and respects >,<,<=, and >=. It uses UTC.

example: event.timestamp:2017-01-02 (Events that occurred on January 2nd)

event.timestamp:<2017-01-02T01:00:00 (Events from before January 2nd)

See the documentation for more examples and other tag examples! https://docs.sentry.io/workflow/search/

Like all search tags, these tags can be combined with themselves (to form ranges) and each other.

Did this answer your question?