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 |
---|---|
|
Sort merged file by log records time field. |
|
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 |
|
Full pathnames of the Log File(s). |
|
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
.