Hi,

Here's a script I use:

#!/bin/sh
cd /var/fw/log
echo "ExportLog Files:"
fw logexport -i date.alog -o datealog.txt -n
fw logexport -i date.log -o datelog.txt -n
echo "Gzipping Exported Files:"
gzip datealog.txt
gzip date.alog
gzip datelog.txt
gzip date.log
echo "End Export & Gzip Log Files:"
echo "FTPing Gzipped Files to Snap Server:"
ftp -v -i -n <<EOF
open xxx.xxx.xxx
user xxxxx xxxxx
binary
passive
cd /xxx/xxx
lcd /var/fw/log
send datealog.txt.gz
send date.alog.gz
send datelog.txt.gz
send date.log.gz
quit
EOF

I convert the files to text on our nokia, ftp them to another box where I can look
at them off line.

You can probably do all of this on your sun box.

Let me know if you have any questions.

Jim Driskell

Vikash Tulsi wrote:

> Hi ! All
>
> My firewall is running on Solaris platform.
>
> How would you convert a fw log file into a text format file ?
>
> Thanking you in advance
> Vikash
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager at [EMAIL PROTECTED]
> **********************************************************************
>
> ================================================================================
>      To unsubscribe from this mailing list, please see the instructions at
>                http://www.checkpoint.com/services/mailing.html
> ================================================================================



================================================================================
     To unsubscribe from this mailing list, please see the instructions at
               http://www.checkpoint.com/services/mailing.html
================================================================================

Reply via email to