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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...