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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...