Difference between revisions of "Logcli query"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
logcli query '{[[job]]="varlogs"}' --limit 0 | logcli query '{[[job]]="varlogs"}' --limit 0 | ||
logcli query '{[[job]]="varlogs"}' | logcli query '{[[job]]="varlogs"}' | ||
+ | |||
+ | logcli query '{job="varlogs"} |~ "YOUR_TEXT_TO_SEARCH*"' | ||
logcli query '{job="varlogs"} | [[logfmt]]' | logcli query '{job="varlogs"} | [[logfmt]]' |
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: