How to generate and export management logs to an scp server

How to generate and export management logs to an scp server

1356
Created On 03/27/24 13:13 PM - Last Modified 04/08/25 22:51 PM


Objective


This article explains how to generate and export the management logs to an SCP server or TAC Upload.



Environment


  • Any Palo Alto Networks firewall
  • Any PAN-OS


Procedure


  1. Connect to the Palo Alto Networks device through SSH or Telnet.
  1. Enter one of the following commands to generate and export management logs file
    1. To export to a private SCP server
scp export log-file management-plane to username@host:path
  1. To export it to TAC upload
scp export log-file management-plane to xxxxxxxx@tacupload.paloaltonetworks.com:./ 
xxxxxxxx will be the case number, including leading zeros. Example: 02951329@tacupload.paloaltonetworks.com:./
When prompted, the password will be the email address under which the case was opened.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000wo6ZCAQ&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail