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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...