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!

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