Prisma Cloud Compute Console Log Retention

Prisma Cloud Compute Console Log Retention

685
Created On 05/27/22 20:50 PM - Last Modified 07/16/25 18:30 PM


Symptom


Unable to locate old console logs in the downloaded log file.

Environment


  • Prisma Cloud Compute Self-Hosted
  • Console logs


Cause


  • If the current console.log file is over 100Mb, the rotation will start a new file and save the old ones up to 10 files in compressed form as console.log.1.gz, console.log.2.gz, console.log.n.gz in the following directory:
/var/lib/twistlock/log/ 
  • Download this log option only downloads the current log file.


Resolution


  1. Prisma Cloud Compute Self-Hosted: The old rotated logs are still under the same path /var/lib/twistlock/log , but one needs to copy them from the console container manually


Actions
  • Print
  • Copy Link

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