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
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...