Splunk Search

timechart span starting at specified point

vaijpc
Communicator

I want to run a timechart 'overnight'... e.g. getting the minimum values of a field between midday and midday... 12-12

If I wanted minimum values between midnight and midnight, 0-24, it would be easy, just timechart foo span=1day. I don't know how to offset it by the 12 hours required though.

I guess I 'could' use span=12h and then manually look at the minimums of the 12-24,0-12 but that means then grouping those and taking the minimum... possibly manually...?

<>

Tags (1)
0 Karma

woodcock
Esteemed Legend

Run it at midnight for the last 36 hours and do this:

...  earliest = -36h@h latest -12h@h | timechart span=1h min(foo)
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...