| CPUG | |
| The Check Point User Group | |
| A Resource For The Check Point Community. Fast. Useful. Independent. | |
|
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| I am looking to convert the $FWDIR/log/fw.log binary file to text. I have been told that the CLI: # fw log $FWDIR/log/fw.log will display the binary log file on the console as a plain text file. Any suggestions on converting this file to text? BTW, this is on a Solaris 8, R55 management server. |
| |||
| Hi, something like: cd $FWDIR/log/fw.log touch log.txt fw log fw.log > log.txt But be carefull doing this! Depending on the amount of traffic the log.txt can quickly grow in size!! Also do not forget to stop the redirect. You will be using the active log file. So if you don't stop it it will grow, grow, grow, grow in size until .... KR Robby |
| |||
| fwm logexport is probably the command you want. It's more for converting an existing log file, done on an ad-hoc (or scheduled) basis. It's not for displaying the current log entries. |
![]() |
| Thread Tools | |
| Display Modes | |
| |