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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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