Export traffic logs in CSV

Reply
L2 Linker

Export traffic logs in CSV

Hello All,

 

I have tried to export logs from firewall its reach limit up to 1048576 rows, this is only for 3hr logs can anyone have the option to filter logs or can we exceed this limit.?

Community Team Member

Re: Export traffic logs in CSV

Hi @Jafar_Hussain ,

 

Each log has a filter area that allows you to set a criteria for which log entries to display :

 

Logs_filter_with_entries.png

 

 1048576 is the maximum number of lines.

 

https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-admin/monitoring/view-and-manage-logs/filter-log... 

 

Cheers !

-Kiwi.

 

 

 
Tags (1)
L2 Linker

Re: Export traffic logs in CSV

@kiwi 

 

I have checked but, I want to export all the logs without filter it is showing millions of flogs for 3-4 hr is there any way to exceed the limits of CSV rows.

 

 I have already exceed limit up to 1048576.

 

L0 Member

Re: Export traffic logs in CSV

You should use ftp or scp

 

I would recommend doing FTP.

 

Export logs to a SCP or FTP server

Run the following commands to export log files:

  • SCP

    > scp export log traffic start-time equal 2011/12/21@12:00:00 end-time equal 2011/12/26@12:00:00 to <value> Destination (username:password@host) or (username@host)

  • FTP

    > ftp export log traffic start-time equal 2011/12/21@12:00:00 end-time equal 2011/12/26@12:00:00 to <value> Destination (username:password@host) or (username@host)

note: 'start-time' and 'end-time' are mandatory values when exporting from the CL

L2 Linker

Re: Export traffic logs in CSV

@kiwi 

 

Thanks for the information, is there any limitation to upgrade logs by this process.

Community Team Member

Re: Export traffic logs in CSV

Hi @Jafar_Hussain ,

 

Using ftp or scp to export your logs will have the same limitation.

I would consider using an external syslog server.

 

Cheers !

-Kiwi.

 

 

 
Tags (1)
L2 Linker

Re: Export traffic logs in CSV

@kiwi 

 

Ok, thanks for your support.

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 Live Community as a whole!

The Live Community thanks you for your participation!