Splunk Search

Show Total count on Stacked bar/column chart

arunbs
Explorer

I have simple stacked bar graph. I want to show the total of each stack and also want it part of the scheduled pdf. Can you please point me to the configuration needed?
TIA - Arun

Tags (2)

mihenn
Path Finder

Are there any new ideas for this problem? How do I get Splunk to write the sum per bar next to it? You can display the single values, the maximum value and the minimum value, but not the total. What is the reason for this?

0 Karma

lguinn2
Legend

The easiest way to do this would be to create a dashboard, and have the dashboard delivered on a schedule.
Your dashboard could have two searches, one which is a graphic and the other which shows the table with totals.

For example, search1 could be the stacked bar chart

yoursearchhere
| chart count by errorCode host

and search2 could be the table (even though you use the chart command)

yoursearchhere
| chart count by errorCode host
| addcoltotals

See how to Generate Dashboard PDFs and send via email here.

0 Karma

arunbs
Explorer

Yes, I already have a dashboard scheduled. I just want to show the total of each stacked bar, as that is an useful information. I don't want to have another table just for the totals. Please suggest.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...