Automate traffic log export to csv

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

Automate traffic log export to csv

L2 Linker

Hi all,

I need to automate the export to csv for a specific query for traffic log, for example (zone.src eq myzone) and (time_generated in last-calendar-day) and I must have the same fields extracted from the gui, without limit to the rows retrieved.


I've tried to:

- export the command from cli to csv -> nothing useful

- create a custom report -> field are not the same, limit of 10k rows

- python script -> how can I pass the query to the instance of Firewall object with fw.op(...) ?


I can use a curl script, and it's working, but I hope for a more "elegant" solution


Any hint?





Cyber Elite
Cyber Elite


Best option would be to send the logs to a SIEM and run reports from there. There are free options out there.



L2 Linker

Hi, without entering into details, unfortunately that's not a method I can use.


  • 2 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!