Splunk Search

Can percentile do more than just integers?

davidpaper
Contributor

Title really says it all.

Tags (2)
1 Solution

davidpaper
Contributor

Yes it can!

The docs: http://docs.splunk.com/Documentation/Splunk/6.1.1/SearchReference/Commonstatsfunctions say this:

This function returns the X-th percentile value of the numeric field Y, where X is an integer between 1 and 99. 

However, the following works, and gives what you would expect it to give:

p(99.95) 

And 99.95% percentile appears!

View solution in original post

davidpaper
Contributor

Yes it can!

The docs: http://docs.splunk.com/Documentation/Splunk/6.1.1/SearchReference/Commonstatsfunctions say this:

This function returns the X-th percentile value of the numeric field Y, where X is an integer between 1 and 99. 

However, the following works, and gives what you would expect it to give:

p(99.95) 

And 99.95% percentile appears!

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 ...