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

Skip to end of metadata
Go to start of metadata

Synopsis

Used to display the last specified number of events resulting from a Simple Search, or the last specified number of summary table entries resulting from a Complex Search.

Syntax

last [number_of_results]

Required Arguments

number_of_results

Syntax: <numeric>

Description: The number of last search results to display

Optional Arguments

None

Description

When used immediately following a Simple Search query, returns the specified number of last events resulting from the search. When used immediately following a Complex Search query, returns the specified number of last entries from the summary table resulting from the search.

Examples

Example 1:

* in log.access | last 91

Returns the last 91 events from access log.

Example 2:

http in log.iis log| max time-taken | group by c-ip | last 3

Returns the max time-taken value from events in log.iis log having http in their column values, for the last three c-ip values only.

 

  • No labels