Difference between revisions of "Logcli"
Jump to navigation
Jump to search
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
https://grafana.com/docs/loki/latest/query/logcli/ | https://grafana.com/docs/loki/latest/query/logcli/ | ||
| + | |||
| + | * Installation: <code>[[brew install logcli]]</code> | ||
| + | * Ubuntu: <code>[[go install github.com/grafana/loki/cmd/logcli@latest]]</code> | ||
[[logcli query]] | [[logcli query]] | ||
| Line 22: | Line 25: | ||
== Related == | == Related == | ||
| − | |||
[[logfmt]] | [[line_format]] | [[decolorize]] | [[logfmt]] | [[line_format]] | [[decolorize]] | ||
[[loki --help]] | [[loki --help]] | ||
Latest revision as of 19:40, 4 May 2026
https://grafana.com/docs/loki/latest/query/logcli/
- Installation:
brew install logcli - Ubuntu:
go install github.com/grafana/loki/cmd/logcli@latest
logcli query logcli instant-query logcli labels logcli labels job logcli --stats logcli --help
logcli labels job 2024/01/02 17:51:37 http://localhost:3100/loki/api/v1/label/job/values?end=1704214297518136000&start=1704210697518136000 stdin varlogs
logcli query '{job="varlogs"}' logcli instant-query
Related[edit]
logfmt | line_format | decolorize loki --help
Activities[edit]
See also[edit]
logcli [ query | instant-query | labels | --quiet | --help ]- Loki, changelog, 3100, promtail, Loki receiver,
loki --help, logcli, Grafana Cloud,helm install loki, Loki Operator, loki.yaml
Advertising: