Splunk Search

What is the correct syntax to get the 90 percentile for Response Time in a Splunk search?

vivekshankar82
New Member

I want to plot the 90 percentile response time in Splunk. Is the below correct?

| timechart p90(ResponseTime) 

or is the below correct

eventstats avg(ResponseTime) as ttavg | eventstats p90(ttavg) as p90avg | timechart max(p90avg)
0 Karma

chimell
Motivator

HI
try this perc90(ttavg ) instead of p90(ttavg)

eventstats avg(ResponseTime) as ttavg | eventstats perc90(ttavg) as perc90_avg | timechart max(perc90_avg)

see also these links

https://answers.splunk.com/answers/99632/what-does-perc95-and-all-those-stats-functions-perc.html
https://answers.splunk.com/answers/8690/90th-percentile-search-results.html

0 Karma

Raghav2384
Motivator

This is the right syntax

perc90()

Thanks,
Raghav

0 Karma
Get Updates on the Splunk Community!

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...

What's New in Splunk Observability - October 2025

What’s New?    We’re excited to announce the latest enhancements to Splunk Observability Cloud and share ...