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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...