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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...