Splunk Search

Add column total to timechart graph as annotation

thesmith
New Member

Hi, I have a timechart that, say, graphs successful calls over a month but it would be good to add the total for the month somewhere. addcoltotal will do this but I don't know how to add it textually to the graph and not screw up the end of the graph. I don't really mind where the total goes, as long as it's there (annotation, legend, title).

sourcetype="source" callTime>10 | timechart count | addcoltotals

I'd additionally rather not have a cumulative column as that skews the scale of the graph.

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Assuming this ends up in a dashboard, have you considered using a second panel?

Alternatively, put a sideviewutils HTML module in the timechart's panel to print out the total.

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Assuming this ends up in a dashboard, have you considered using a second panel?

Alternatively, put a sideviewutils HTML module in the timechart's panel to print out the total.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...