Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
RomainT
Explorer

Export Old Log To Syslog

Hello,

We are using cp_log_export command to export our Checkpoint to our Syslog server, it works well.

Question is: is it possible to export old log to syslog ?

I mean export binary Checkpoint log file in syslog format?

 

i.e. : Exemple for log of last 15th of sept

2020-09-15_200953_2991.log

2020-09-15_200953_2991.loginitial_ptr

2020-09-15_200953_2991.logptr

2020-09-15_200953_2991.log_stats

2020-09-15_210812_2992.logaccount_ptr

 

Thanks for your help.

Romain.

0 Kudos
1 Reply
Dror_Aharony
Employee
Employee

Yes. you want to export this log-file specifically or more log-files from this date?
Two options, both by modifying the "<log_files><value></log_files>" attribute in the targetConfiguration.xml:

1. exact log_file name (2020-09-15_200953_2991.log) & restart log-exporter (return to default 1 once it finishes).

2. change to value matching the days back you need to export logs up-to, like 40 days & restart (return to 1 or not, once it finishes).

for example: to reach Sep-15th, enter 40 or similar.

See Advanced Configuration post deployment section in log-exporter sk322323:
https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solut...

0 Kudos