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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...