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 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...