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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

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

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...