CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Miscellaneous
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-10-27
Junior Member
 
Join Date: 2006-05-03
Posts: 5
Rep Power: 0
sl@cker has an average reputation (10+)
Default converting binary fw.log to text on R55

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.
Reply With Quote
  #2 (permalink)  
Old 2006-10-27
Senior Member
 
Join Date: 2006-10-05
Location: Belgium
Posts: 108
Rep Power: 3
Robby Cauwerts has an average reputation (10+)
Default Re: converting binary fw.log to text on R55

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
Reply With Quote
  #3 (permalink)  
Old 2006-10-27
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 857
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: converting binary fw.log to text on R55

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.
Reply With Quote
  #4 (permalink)  
Old 2006-10-27
Junior Member
 
Join Date: 2006-05-03
Posts: 5
Rep Power: 0
sl@cker has an average reputation (10+)
Default Re: converting binary fw.log to text on R55

fwm logexport works for the fw.log file, what about the rolled files?

when i try the achived files, i get an error "cannot open file"

i use the option "-i"
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 14:15.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0