Splunk Search

How to display the total count as a label on top of each bar in a bar chart?

dhavamanis
Builder

Need your help,

We have the search below to display a bar chart and it shows the total numbers, but how do we display the total number on top of each bar in the chart as a label?

index="myindex" source="/opt/apps/views/abc_PV_UV_Data.csv" |timechart sum(PAGE_VIEWS) as PageViews span=1mon 

When we export the data into PDF, we're not able to see the exact count with different bar chart values, so we want to display the total value on top of the each bar chart. Can you please help us with how to do this?

0 Karma

mmensch
Path Finder

Have you tried out this answer? It may or may not be helpful. I have not implemented myself.
http://answers.splunk.com/answers/152683/is-it-possible-to-show-values-in-the-column-bar-chart.html

0 Karma

dhavamanis
Builder

thanks, count showing in the top, but its generating two chart one with regular and another one with count on top. we want to hide the regular one and show only which has count on top as label.

also count on top chart not exporting to pdf.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...