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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...