Splunk Search

How to chart max per day

narwhal
Splunk Employee
Splunk Employee

OK, probably a dumb question--but I can't get it output the way I want. I have a series of values that rise up through the course of a day. I really only want the highest value during each day so that I can chart that over time. (Yes, it's for my fitbit.) I thought I could do "... | chart max(blah) by date_day", but that didn't return any results. Am I missing something?

Tags (3)
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

You really need

... | timechart span=1d max(blah)

View solution in original post

narwhal
Splunk Employee
Splunk Employee

Yeah, thanks Gerald. I figured that out about 15 minutes after my caffeine starved brain woke up.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You really need

... | timechart span=1d max(blah)
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...