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

Skip to end of metadata
Go to start of metadata

Synopsis

A function that returns the percentage of search result events.

Syntax

percent

Required Arguments

None

Optional Arguments

None

Description

When used following the initial simple search query, returns the percentage of events resulting from the search. When used iteratively, Calculate the percentage of results returned from the complex search preceding the pipe.

Examples

Example 1: 

* in log.access | percent

 Always returns 100%

Example 2:

* in log.application | percent | group by event | order by percent

Returns the percentage of each event in the log application

  • No labels