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.

 

Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...