Splunk Search

To get the greatest value for each day and graph it for a week

dinumayu
Observer

Hi,

Can you please assist with the query to get the greatest value (for one field) on that day and graph the data for the week 

I am currently using the below one and it gives me only the greatest value for the week in the graph

index="index_name" | search STATS_NAME=BIRTHDAY | chart values(STATS_COUNT) by _time  

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Assuming that you want the highest value of STATS_COUNT for each day

index="index_name" | search STATS_NAME=BIRTHDAY
| bin span=1d _time
| chart max(STATS_COUNT) by _time  
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...