Current view: XPLG V7 (Latest). Available: XPLG V6 and XPLG V5

Skip to end of metadata
Go to start of metadata

Synopsis

Calculates the percentile of the values in a specified column of the search query results.

Syntax

percentile [percentage_value]

Required Arguments

percentage_value

Syntax: <character string>

Description: The value of a percentage

Optional Arguments

None

Description

A percentile is a measure used in statistics indicating the value below which a given percentage of observations in a group of observations fall

Examples

Example 1:  

* in log.system audit | order by process time (ms) | percentile 95 

From the events in system audit log, returns the percentile 95% of the events observed by column process time (ms).

Example 2:  

timetoprcessRequest != null  in log.access | order by timetoprcessRequest  | percentile 95 | count | group by URL, timetoprcessRequest | order by timetoprcessRequest desc

From the events in access log, returns the percentile 95% of the events observed by column timetoprcessRequest.Then groups by the URL and timetoprcessRequest and sorts by timetoprcessRequest  descending.

  • No labels