Difference between revisions of "Logcli query"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
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"}'
+
  logcli query '{job="varlogs"} | [[logfmt]]'
 
 
  
 +
[[--limit 0]]
 +
--forward
  
 
  [[logcli]] query
 
  [[logcli]] query
 +
[[logcli labels job]]
  
  
 
{{logcli}}
 
{{logcli}}

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: