mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-21 15:45:01 +00:00
docs/VictoriaLogs/querying/README.md: mention that /select/logsql/query
endpoint may return arbitary number of logs matching the given query filter, and this is OK
This is needed for https://github.com/VictoriaMetrics/VictoriaMetrics/issues/8507 and https://github.com/VictoriaMetrics/victorialogs-datasource/issues/261
This commit is contained in:
parent
23c4e4cdb2
commit
d2f4698e3f
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ For example, the following query returns all the log entries with the `error` wo
|
|||
curl http://localhost:9428/select/logsql/query -d 'query=error'
|
||||
```
|
||||
|
||||
This command returns all the logs with the `error` word, which are stored in the VictoriaLogs running at `localhost:9428`.
|
||||
There are no limits on the number of returned logs - the command above may return billions of logs without any issues.
|
||||
See [these docs](#command-line) for details.
|
||||
|
||||
The response by default contains all the [fields](https://docs.victoriametrics.com/victorialogs/keyconcepts/#data-model) for the selected logs.
|
||||
Use [`fields` pipe](https://docs.victoriametrics.com/victorialogs/logsql/#fields-pipe) for selecting only the needed fields.
|
||||
|
||||
|
|
Loading…
Reference in a new issue