Splunk Enterprise

Total Count has to Display on Top of the Graph

ashok968
Loves-to-Learn

I have created the graph on hourly basis so it will display counts on the bar based on hours . Now my Requirement is I wanna Display one message on the Graph Totalcount=X 

Labels (1)
0 Karma

somesoni2
Revered Legend

Try adding following at the end of your search

If your current search result contains _time and one field say "count"

| eventstats sum(count) as TotalCount

 

If your search result contains _time and several dynamic column names,

| addtotals fieldname="Totalcount"
0 Karma

Taruchit
Contributor

Hi @ashok968,

Can you please share your current SPL and its output and a visual representation of what output you may need to fulfill the requirement? Please mask the relevant sensitive content if any.

Thank you

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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