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!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...