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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...