min
Synopsis
Calculates the minimum of the values in a specified column in the search query results.
Syntax
min [column_name]
Required Arguments
column_name
Syntax: <character string>
Description: The name of a column header that has numeric values
Optional Arguments
None
Description
From all the search query results, returns the minmum value in the specified column_name.
Examples
Example 1:Â Â
* in log.access | min Bytes SentÂ
Returns the minimum value of the column Bytes Sent in the events from access log.
Example 2:Â Â
http in log.iis log| min time-taken | group by c-ipÂ
From the events from log.iss log that have the text http in their column values, finds and returns the minimum value in the time-taken column per each c-ip column value.Â
Â