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!

.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 ...