Dashboards & Visualizations

Display pie value in pie chart without tooltip

ggangwar
Path Finder

Hi,

I am working on spkunk 6.2 and I have created a pie chart under splunk dashboard as a panel. Ineed to display the value against each pie in chart.
Is there a way to achieve it?

search_string| chart count(username) by application

Above query creates pie chart having information of application. But, it does not have count value for every application. Can you please help in adding the count value against application name in the chart?

Tags (2)
0 Karma
1 Solution

ggangwar
Path Finder

... | stats count(username) as count by application| eval pie_slice = count + " " + username | fields pie_slice, count

View solution in original post

0 Karma

ggangwar
Path Finder

... | stats count(username) as count by application| eval pie_slice = count + " " + username | fields pie_slice, count

0 Karma

ggangwar
Path Finder

Can anyone provide some useful answer?

0 Karma

ggangwar
Path Finder

I have got the solution.

... | stats count(username) as count by application| eval pie_slice = count + " " + username | fields pie_slice, count
0 Karma

493669
Super Champion

that's the answer I am referring ...

0 Karma

493669
Super Champion

Hi @ggangwar,
try this:

 <option name="charting.chart.showPercent">true</option>

refer this answer: https://answers.splunk.com/answers/71090/how-to-display-the-count-in-piechart-as-labels.html

0 Karma

ggangwar
Path Finder

This gives wrong value. It does not display the value of pie but some other percentage.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...