Dashboards & Visualizations

display total on top of the bar in a barchart

rajparekh08
Engager

HI,
Is there a way to top the bars in a bar chart with total of the count(or whatever total value the bar is depicting). For instance each of the bars int a bar chart show the total number of transactions for a given service, then the bar for each service has the total number of transactions on top of the bar.
It would become easy to read, especially when sending it out as pdf report.

Tags (1)
0 Karma

irfans
Explorer

I am trying to do exactly this but I am not sure I follow where this search should go?

0 Karma

inode
Explorer

That's likely possible with XML tweaking or by using a custom D3/Chart. There is an easy way to display at the bottom though, where you see the labels/legend:

search | stats count by field | eval field=field."(".count.")"

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

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

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

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