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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...