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 Current »

Synopsis

Displays the country name extracted from the IP address column in each event.

Syntax

country [IP_address_column_name]

Required Arguments

IP_address_column_name

Syntax: <character string>

Description: The name of the column header that has IP address values.

Optional Arguments

None

Description

For each event that has the specified IP_address_column_name with an IP address value, extracts the country name from the IP address, using the hostip.info database.

Examples

Example 1:  

* log.access | country IPaddress1

 For each event in log access, extracts the country name from the IP address in column IPaddress1.

  • No labels