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

Access Check Point logs using Ansible

Hi,

I am Automation Engineer and new to check point. I am trying to access check point logs using Ansible. As a pre-requisite, I wanted to get the logs using command line first from smart console.  I tried the examples given in https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solut...But I get error.  Attached the screen shot. Please advice. 

 

Thanks,

Murali

Automation Engineer | Ernst & Young

 

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

The command in SmartConsole is not where you enter these commands, as that's only a CLI for the management API.
You enter fw log via CLISH on the Management server via SSH or similar.
0 Kudos
Dror_Aharony
Employee Alumnus
Employee Alumnus

I'll add a bit more info.

No CLI API for SmartConsole Logs view at the moment (Log-Indexing enabled / SmartLog).

 

You can use the Non-Index I/S to query specific log-files (as PhoneBoy suggested):

fw log or CPLogFilePrint (a bit faster & clearer on R80.10 & above):

CPLogFilePrint <full log-file path>

# -h for additional flags.

 

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events