Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
checkpointer
Participant

Firewall logs

Hello,

I would like to fetch all security policies with hit count, first hit , last hit details included in a report and also sort the rules in descending order of last used. 

There is no way to do this in SmartConsole, anyone have any ideas about how I can go about this?

Regards,

Checkpointer

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

The show access-rulebase API command, when used with show-hits true, will show the first and last hit date.
However, not aware of a way to sort by last hit date short of writing a script.
In R81.10, the export to CSV from SmartConsole includes some info about hits, but don’t believe it includes the dates: https://community.checkpoint.com/t5/Management/Export-of-rules-with-zero-hits-in-dashboard/m-p/12055...
This might also help (or not): https://supportcenter.checkpoint.com/supportcenter/portal?action=portlets.SearchResultMainAction&eve...

Bottom line: to get this, some assembly will be required.

the_rock
Authority
Authority

That was my post not so long ago, totally remember that 🙂

0 Kudos