This article explains how to export traffic logs from Panorama using FTP/SCP for a specific Device Group.
These instructions are applicable for Panorama running on PAN-OS 7.1, 8.0, 8.1 and 9.0.
If the Panorama is managing multiple firewalls and has got multiple Device Groups, you can run the command below from Panorama CLI.
This command will export the logs only for the Device Group that you are querying, and it will be based on the start and end time.