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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...