Splunk Search

using perc with variable percentile value

dadi
Path Finder

hi guys,
I want to use eventstats->perc function. This function is form perc*10(x) in order to get the 10 percentile value. I want that the 10 int perc10* will be a variable, meaning that the same function could be used to calculate different percentile values.
Is it possible?

example:
| eval percVal=10
| eventstats perc(count) as topPrecentBar
how to make the above statement to work?

Thanks.

Tags (3)
0 Karma

jensihnow
Path Finder

I think thats not possible... but I am not a Splunk Ninja.

0 Karma
Get Updates on the Splunk Community!

Video | Welcome Back to Smartness, Pedro

Remember Splunk Community member, Pedro Borges? If you tuned into Episode 2 of our Smartness interview series, ...

Detector Best Practices: Static Thresholds

Introduction In observability monitoring, static thresholds are used to monitor fixed, known values within ...

Expert Tips from Splunk Education, Observability in Action, Plus More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...