Splunk Search

What is the biggest difference between perc<>() and using predict?

aohls
Contributor

I have used predict before and now am seeing perc, which I haven't used as much. What is the largest difference between these two? Is one favored over the other or are they different?

Labels (1)
1 Solution

bowesmana
SplunkTrust
SplunkTrust

@aohls They are different beasts. predict is about forecasting, but perc is about calculating percentiles, e.g.

perc50(x) is the same as the median.

perc90(x) is the 90th percentile.

perc is used in aggregation commands, such as *stats, timechart.

 

View solution in original post

bowesmana
SplunkTrust
SplunkTrust

@aohls They are different beasts. predict is about forecasting, but perc is about calculating percentiles, e.g.

perc50(x) is the same as the median.

perc90(x) is the 90th percentile.

perc is used in aggregation commands, such as *stats, timechart.

 

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...