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

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...