Description fw log
displays the content of Log files.
Syntax
> fw log [-f [-t]] [-n] [-l] [-o] [-c <action>] [-h <host>] [-s <starttime>] [-e <endtime>] [-b <starttime> <endtime>] [-u <unification_scheme_file>] [-m {initial|semi|raw}] [-a] [-k {alert_name|all}] [-g] [logfile]
Parameter |
Description |
---|---|
|
After reaching the end of the currently displayed file, do not exit (the default behavior), but continue to monitor the Log file indefinitely and display it while it is being written. The
|
|
Do not perform DNS resolution of the IP addresses in the Log file (the default behavior). This option significantly speeds up the processing. |
|
Display both the date and the time for each log record (the default is to show the date only once above the relevant records, and then specify the time per log record). |
|
Show detailed log chains (all the log segments a log record consists of). |
|
Display only events whose action is action, that is, |
|
Display only log whose origin is the specified IP address or name. |
|
Display only events that were logged after the specified time (see time format below). |
|
Display only events that were logged before the specified time (see time format below). |
|
Display only events that were logged between the specified start and end times (see time format below), each of which may be a date, a time, or both. If date is omitted, then today's date is assumed. The start and end times are expected after the flag. |
|
Unification scheme file name. |
|
This flag specifies the unification mode.
|
|
Output account log records only. |
|
Display only events that match a specific alert type. The default is |
|
Do not use a delimited style. The default is:
|
|
Use |
Where the full date and time format is: MMM DD, YYYY HH:MM:SS.
For example: May 26, 1999 14:20:00
It is possible to specify date only in the format MMM DD, YYYY
, or time only, in the format: HH:MM:SS,
where time only is specified, the current date is assumed.
Example
> fw log
> fw log | more
> fw log -c reject
> fw log -s "May 26, 1999"
> fw log -f -s 16:00:00
Output [<date>] <time> <action> <origin> <interface dir and name> [alert] [field name: field value;] ...
Each output line consists of a single log record, whose fields appear in the format shown above.
Example Output
14:56:39 reject jam.checkpoint.com >daemon alert src: veredr.checkpoint.com;
dst: jam.checkpoint.com; user: a; rule: 0; reason: Client Encryption: Access
denied - wrong user name or password ; scheme: IKE; reject_category:
Authentication error; product: Security Gateway
14:57:49 authcrypt jam.checkpoint.com >daemon src: veredr.checkpoint.com;
user: a; rule: 0; reason: Client Encryption: Authenticated by Internal
Password; scheme: IKE; methods: AES-256,IKE,SHA1; product: Security Gateway;
14:57:49 keyinst jam.checkpoint.com >daemon src: veredr.checkpoint.com;
peer gateway: veredr.checkpoint.com; scheme: IKE; IKE: Main Mode completion.;
CookieI: 32f09ca38aeaf4a3; CookieR: 73b91d59b378958c; msgid: 47ad4a8d; methods:
AES-256 + SHA1, Internal Password; user: a; product: Security Gateway;