Print Download PDF Send Feedback

Previous

Next

fw mergefiles

Description Merge several Log Files into a single Log File. The merged file can be sorted according to the creation time of the Log entries, and the times can be "fixed" according to the time zones of the origin Log servers.

Logs entries with the same Unique-ID are unified. If a Log switch was performed before all the segments of a specific log were received, this command will merge the records with the same Unique-ID from two different files, into one fully detailed record.

Syntax

> fw mergefiles [-s] [-t <time_conversion_file>] <log_file_name_1> [... <log_file_name_n>] <output_file>

Parameter

Description

-s

Sort merged file by log records time field.

-t <time_conversion_file>

Fix different GMT zone log records time in the event that the log files originated from Log Servers in different time zone.

The time_conversion_file format is as follows:

ip-address signed_date_time_in_seconds

ip-address signed_date_time_in_seconds

<log_file_name_n>

Full pathnames of the Log File(s).

<output_file>

Full pathname of the output Log File.

Comments It is not recommended to merge the current active fw.log file with other Log Files. Instead, run the fw logswitch command and then run fw mergefiles.