mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-31 15:06:26 +00:00
wip
This commit is contained in:
parent
52766cd896
commit
64dd2c313b
1 changed files with 3 additions and 3 deletions
|
@ -1404,7 +1404,7 @@ See also:
|
|||
|
||||
`| field_values field_name` [pipe](#pipe) returns all the values for the given [`field_name` field](https://docs.victoriametrics.com/victorialogs/keyconcepts/#data-model)
|
||||
with the number of logs per each value.
|
||||
For example, the following query returns all the values with the number of matching logs for the field `level` over logs logs for the last 5 minutes:
|
||||
For example, the following query returns all the values with the number of matching logs for the field `level` over logs for the last 5 minutes:
|
||||
|
||||
```logsql
|
||||
_time:5m | field_values level
|
||||
|
@ -1417,12 +1417,12 @@ up to 10 values for the field `user_id` over logs for the last 5 minutes:
|
|||
_time:5m | field_values user_id limit 10
|
||||
```
|
||||
|
||||
If the limit is reached, then the set of returned values is random. Also the number of matchin logs per each returned value is zeroed for performance reasons.
|
||||
If the limit is reached, then the set of returned values is random. Also the number of matching logs per each returned value is zeroed for performance reasons.
|
||||
|
||||
See also:
|
||||
|
||||
- [`field_names` pipe](#field_names-pipe)
|
||||
- [`uniq` pipe)(#uniq-pipe)
|
||||
- [`uniq` pipe](#uniq-pipe)
|
||||
|
||||
### fields pipe
|
||||
|
||||
|
|
Loading…
Reference in a new issue