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!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...