- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Re: Access Check Point logs using Ansible
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You enter fw log via CLISH on the Management server via SSH or similar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
