Sentry: [Feature suggestion] Search by date range

Created on 24 Mar 2016  路  4Comments  路  Source: getsentry/sentry

Let's say I have a known date range in which an error happened and would like to find it. It would be great to be able to find a specific sample of an error which was collected in the said date range.

I know about age, but I don't think it's a good fit for this use case.

Most helpful comment

We haven't opened up any search availability on the raw samples that are stored (primarily because they may or may not exist), but you can search using event.timestamp:>2016-01-01 event.timestamp:<2016-01-02 (we havent documented this yet). > is inclusive, and < is exclusive. It supports full timestamps as well in standard iso format: event.timestamp:2016-01-01T00:00:00

All 4 comments

We haven't opened up any search availability on the raw samples that are stored (primarily because they may or may not exist), but you can search using event.timestamp:>2016-01-01 event.timestamp:<2016-01-02 (we havent documented this yet). > is inclusive, and < is exclusive. It supports full timestamps as well in standard iso format: event.timestamp:2016-01-01T00:00:00

Excellent, thank you!

FYI this is now officially documented here.

@dcramer @wting what version is this available in? i'm not seeing it filter the results with:

event.timestamp:<2017-10-19T10:00:00 server_name:somehost01

it's still just showing the last 24h

Was this page helpful?
0 / 5 - 0 ratings