Splunk Search

Evaluate percentiles based on multiple rows

grizzlypolar
Loves-to-Learn Lots

I have the data in the following format

score_countscore_value
2350
4652
153
89054

with more than a 1 million score_values, each value having its distinct count. 

 

Given the data is in this format, how can I efficiently compute p95 or p99 of my the `score`. 

I tried unrolling the table to create a single column with the value repeated multiple times, but the query does not complete at all. 

Note that I'm planning to use this in a time chart command as so it has to be efficient to compute this value as well. 

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...