Hi Guys,
I want to export security policies with hit counts/Last-used date from Fortigate in CSV. Kindly suggest.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
You may export the policies as suggested in below document.
Then do a sort/filter using "Bytes" column in excel.
Hi,
I am using FG 800C and which having 5.6 FortiOS. In this version the export option is not available. And also this is the last version of this product. Any other suggestion
Hi,
I know this method but want hit count column also in csv and via the script it is not possible as we export the details from the backup.
Created on 01-09-2023 12:42 AM Edited on 01-09-2023 12:44 AM
Hello,
You are correct.
A combination of the exported rules and creating another script that runs through all the policy id's would be an option, where your run the command :
diagnose firewall iprope show 00100004 POLICY_ID
found on seq no in the GUI or from show firewall policy, would give you the hit count.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1633 | |
1063 | |
751 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.