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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...