Splunk

From neil.tappsville.com
Revision as of 05:51, 21 October 2019 by Gonzo (talk | contribs) (Created page with "Match Value (.*) after "want:" and turn it into a field (field_name) <pre> | rex field=_raw "some text before what we want:(?<field_name>.*)" </pre> Group results into 1 hou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Match Value (.*) after "want:" and turn it into a field (field_name)

 | rex field=_raw "some text before what we want:(?<field_name>.*)"  

Group results into 1 hour chunks

|bucket span=1h _time | timechart span=1h count(field_name) by field_name