mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-18 14:40:26 +01:00
docs/VictoriaLogs/querying/vlogscli.md: provide instructions on how to download run vlogscli
This commit is contained in:
parent
ee784f9334
commit
856c189688
@ -10,7 +10,21 @@ menu:
|
|||||||
|
|
||||||
`vlogsqcli` is an interactive command-line tool for querying [VictoriaLogs](https://docs.victoriametrics.com/victorialogs/).
|
`vlogsqcli` is an interactive command-line tool for querying [VictoriaLogs](https://docs.victoriametrics.com/victorialogs/).
|
||||||
This tool can be obtained from the linked release pages at the [changelog](https://docs.victoriametrics.com/victorialogs/changelog/)
|
This tool can be obtained from the linked release pages at the [changelog](https://docs.victoriametrics.com/victorialogs/changelog/)
|
||||||
or from [docker images](https://hub.docker.com/r/victoriametrics/vlogscli/tags).
|
or from [docker images](https://hub.docker.com/r/victoriametrics/vlogscli/tags):
|
||||||
|
|
||||||
|
### Running `vlogscli` from release binary
|
||||||
|
|
||||||
|
```sh
|
||||||
|
curl -L -O https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v0.33.0-victorialogs/vlogscli-linux-amd64-v0.33.0-victorialogs.tar.gz
|
||||||
|
tar xzf vlogscli-linux-amd64-v0.33.0-victorialogs.tar.gz
|
||||||
|
./vlogscli-prod
|
||||||
|
```
|
||||||
|
|
||||||
|
### Running `vlogscli` from Docker image
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker run --rm -it docker.io/victoriametrics/vlogscli:v0.33.0-victorialogs
|
||||||
|
```
|
||||||
|
|
||||||
By default `vlogscli` sends queries to [`http://localhost:8429/select/logsql/query`](https://docs.victoriametrics.com/victorialogs/querying/#querying-logs).
|
By default `vlogscli` sends queries to [`http://localhost:8429/select/logsql/query`](https://docs.victoriametrics.com/victorialogs/querying/#querying-logs).
|
||||||
The url to query can be changed via `-datasource.url` command-line flag. For example, the following command instructs
|
The url to query can be changed via `-datasource.url` command-line flag. For example, the following command instructs
|
||||||
|
Loading…
Reference in New Issue
Block a user