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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...