Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Synopsis

Displays the country code of the IP address in the specified IP column.

Syntax

country code <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 code from the IP address, using the hostip.info database.

Examples

Example 1:   ...| country code IPaddress1