Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Synopsis

Calculates the average of the values in a specified column.

Syntax

avg <column_name>

Required Arguments

column_name

Syntax: <character string>

Description: The name of a column header that has numeric values

Optional Arguments

None

Description

For each event that has the specified column_name with a numeric value, add the value to the cumulative sum, and when you have reached the last event, divide the cumulative sum by the number of events to get the average.

Examples

Example 1:   ...| avg Bytes Sent 
  • No labels