mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-21 15:45:01 +00:00
docs/VictoriaLogs/querying/README.md: fix the docs for /select/logsql/stream_field_values when the limit
arg is set
It returns up to `limit` values for the given log stream field with the biggest number of hits.
This commit is contained in:
parent
ea4534d154
commit
acdd6faecf
1 changed files with 1 additions and 3 deletions
|
@ -783,9 +783,7 @@ Below is an example JSON output returned from this endpoint:
|
|||
}
|
||||
```
|
||||
|
||||
The `/select/logsql/stream_field_values` endpoint supports optional `limit=N` query arg, which allows limiting the number of returned values to `N`.
|
||||
The endpoint returns arbitrary subset of values if their number exceeds `N`, so `limit=N` cannot be used for pagination over big number of field values.
|
||||
When the `limit` is reached, `hits` are zeroed, since they cannot be calculated reliably.
|
||||
The `/select/logsql/stream_field_values` endpoint supports optional `limit=N` query arg, which allows limiting the number of returned values to `N` with the biggest number of hits.
|
||||
|
||||
By default the `(AccountID=0, ProjectID=0)` [tenant](https://docs.victoriametrics.com/victorialogs/#multitenancy) is queried.
|
||||
If you need querying other tenant, then specify it via `AccountID` and `ProjectID` http request headers. For example, the following query returns stream field values stats
|
||||
|
|
Loading…
Reference in a new issue