Splunk Search

Help on splunk graphs

shri_27
Path Finder

Hi all,
Is there any way in Splunk to show the percentage value on graphs(pie chart) as we get in Excel sheet graphs?? i.e. show % values without me having to do a mouse-over

Tags (1)
0 Karma

wpreston
Motivator

There is a way to show that information in the chart labels. You can eval your report field to include the total count for that field, the percentage, or whatever else you want to see and it will show up in the pie chart label for that slice:

your search | top YourField limit=20 | eval YourField=YourField." (".count.") ".percent."%"

Remove the count portion of the eval if you're not interested in it.

However, there's no way I know of to make the values or percentages show up inside each slice of the pie chart.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...