Splunk Search

Stacked100 with Bar total value

CarmineCalo
Path Finder

Ciao,
i'd like to apply some enhancements to a stacked100 barchart i created.
alt text

In particular I'd like to modify this current version:

to something like this (i.e. showing totals at the end of each bar and having different color for the Total Bar)

alt text

Any help?

Tks in advance!

Tags (1)
0 Karma

cmerriman
Super Champion

how about adding this to the end of your query:

...|addtotals|eval <bar>=<bar>+" - "+Total|fields - Total

where <bar> is the field where bar1-6 are coming from. this will add the total to the end of the axis labels, not the bar itself.

0 Karma

CarmineCalo
Path Finder

Tks for the feedback.
This help, it could be a backup solution in case the layout I'm looking is not possible.

By now thanks!

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!

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...