diff --git a/docs/VictoriaLogs/querying/vlogscli.md b/docs/VictoriaLogs/querying/vlogscli.md index 67b86f783e..c1ac4dc0cb 100644 --- a/docs/VictoriaLogs/querying/vlogscli.md +++ b/docs/VictoriaLogs/querying/vlogscli.md @@ -10,7 +10,21 @@ menu: `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/) -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). The url to query can be changed via `-datasource.url` command-line flag. For example, the following command instructs