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 Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...