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 ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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