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.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...