fw fetchlogs
Description
Fetches the specified Security log files ($FWDIR/log/*.log*) or Audit log files ($FWDIR/log/*.adtlog*) from the specified Check Point server.
|
|
Important - You can run this command in the Expert mode or in Gaia Clish |
Syntax
|
|
Parameters
Notes:
-
This command moves the specified log files from the
$FWDIR/log/directory on the specified Check Point server.Meaning, it deletes the specified log files on the specified Check Point server after it copies them successfully.
-
This command moves the specified log files to the
$FWDIR/log/directory on the local Check Point server, on which you run this command. -
This command cannot fetch the active log files
$FWDIR/log/fw.logor$FWDIR/log/fw.adtlog.-
Perform the log switch on the applicable Check Point server:
See fw logswitch.
fw logswitch [-audit] [-h <IP Address or Hostname>] -
Fetch the rotated log file from the applicable Check Point server:
fw fetchlogs -f <Log File Name> <IP Address or Hostname>
-
-
This command renames the log files it fetched from the specified Check Point server.
The new log file name is the concatenation of these:
-
The Check Point server's name (as configured in SmartConsole).
-
Two underscore (_) characters.
-
The original log file name
Example:
MyGW__2019-06-01_000000.log -
Example - Fetching log files from a Management Server