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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...