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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...