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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...