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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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