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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...