Difference between revisions of "Splunk"

From John Freier
Jump to: navigation, search
(Created page with "Get the line result count. host=server01 Error | stats sum(linecount) as Total")
 
 
Line 1: Line 1:
 
Get the line result count.
 
Get the line result count.
 
   host=server01 Error | stats sum(linecount) as Total
 
   host=server01 Error | stats sum(linecount) as Total
 +
 +
Get result count per day or hour
 +
  host=server01 Error | bucket _time span=hour |stats count by _time

Latest revision as of 13:46, 2 July 2024

Get the line result count.

  host=server01 Error | stats sum(linecount) as Total

Get result count per day or hour

 host=server01 Error | bucket _time span=hour |stats count by _time