series
List log streams matching a LogQL selector as complete label sets, so you can see if anything matches and how many streams you would read before running a query.
Instructions
List the log streams matching a selector, as complete label sets.
Use it to see which concrete streams a selector actually covers and what other labels they carry: {app="nginx"} may expand to one series per pod, region or level. That answers "does this selector match anything" and "how many streams am I about to read" without fetching log lines. For the lines themselves, use query_range; for label names and values in isolation, use labels and label_values.
Returns the raw Loki JSON response: {"status","data":[{"label":"value"}]}, one object per stream. A selector matching nothing comes back as an empty list. Read-only: it never writes to or mutates Loki.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End of the time range, RFC3339 or Unix nanoseconds. Defaults to now. | |
| match | Yes | Stream selector in LogQL brace syntax, e.g. {app="nginx"} or {namespace="prod",level=~"error|warn"}. Line filters (|=) are not accepted here. | |
| start | No | Start of the time range, RFC3339 (2026-03-25T10:00:00Z) or Unix nanoseconds. Defaults to 6 hours ago. |