This commit is contained in:
Aliaksandr Valialkin 2024-05-30 16:56:11 +02:00
parent 963d90ac6e
commit f51345714b
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -287,7 +287,7 @@ _time:1h AND error
The following formats are supported for `_time` filter:
- `_time:duration` matches logs with timestamps on the time range `(now-duration, now]`. Examples:
- `_time:duration` matches logs with timestamps on the time range `(now-duration, now]`, where `duration` can have [these values](#duration-values). Examples:
- `_time:5m` - returns logs for the last 5 minutes
- `_time:2.5d15m42.345s` - returns logs for the last 2.5 days, 15 minutes and 42.345 seconds
- `_time:1y` - returns logs for the last year