|
|
|
@ -29,8 +29,8 @@ The Loki server has the following API endpoints (_Note:_ Authentication is out o |
|
|
|
|
- `query`: a logQL query |
|
|
|
|
- `limit`: max number of entries to return |
|
|
|
|
- `start`: the start time for the query, as a nanosecond Unix epoch (nanoseconds since 1970). Default is always one hour ago. |
|
|
|
|
- `end`: the end time for the query, as a nanosecond Unix epoch (nanoseconds since 1970). |
|
|
|
|
- `direction`: `forward` or `backward`, useful when specifying a limit |
|
|
|
|
- `end`: the end time for the query, as a nanosecond Unix epoch (nanoseconds since 1970). Default is current time. |
|
|
|
|
- `direction`: `forward` or `backward`, useful when specifying a limit. Default is backward. |
|
|
|
|
- `regexp`: a regex to filter the returned results, will eventually be rolled into the query language |
|
|
|
|
|
|
|
|
|
Loki needs to query the index store in order to find log streams for particular labels and the store is spread out by time, |
|
|
|
|