Difference between revisions of "Logcli query"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
logcli query '{[[job]]="varlogs"}' | logcli query '{[[job]]="varlogs"}' | ||
+ | logcli query '{job="varlogs"} |~ "YOUR_TEXT_TO_SEARCH*"' | ||
+ | |||
+ | logcli query '{job="varlogs"} | [[logfmt]]' | ||
[[--limit 0]] | [[--limit 0]] |
Latest revision as of 09:52, 3 January 2024
logcli query '{job="varlogs"}' --limit 0 --forward logcli query '{job="varlogs"}' --limit 0 logcli query '{job="varlogs"}'
logcli query '{job="varlogs"} |~ "YOUR_TEXT_TO_SEARCH*"'
logcli query '{job="varlogs"} | logfmt'
--limit 0 --forward
logcli query logcli labels job
logcli [ query | instant-query | labels ]
Advertising: