Hitachi

uCosminexus Application Server HTTP Server User Guide


4.2.5 Converting the IP address of log file into a host name (logresolve command)

The logresolve command converts the IP address of the access log file (that has IP address at the beginning of the record) into the host, and outputs to the new log file. The conversion rule depends on the reverse lookup of host name.

Organization of this subsection

(1) Format

logresolve [-s file-name] [-c] Access-log-file-name New-log-file-name

(2) Parameters

(3) How to use

Convert the IP address of access log stored in the logs\access.log, into the host name.

Access log file: logs\access.log

New log file: logs\new_access.log

logresolve < logs\access.log > logs\new_access.log