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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...