Where are Console and Defender Logs stored in Prisma Cloud Compute Edition (Self-Hosted)?
14285
Created On 01/03/22 12:40 PM - Last Modified 08/22/22 18:20 PM
Question
Where are Console and Defender Logs stored in Prisma Cloud Compute Edition (Self-Hosted)?
Environment
- Prisma Cloud Compute Edition (Self-Hosted).
- Content and Defender Logs.
Answer
Console Logs Path : /var/lib/twistlock/log/console.log.
Defender Logs Path : /var/lib/twistlock/log/defender.log.
Example of Console Logs:
Example of Defender Logs:
Additional Information
- To check the logs SSH to the host where the defenders are installed and use "ls -l" command.
- Console and Defender Logs are written to /var/lib/twistlock/log on the Host that is running the pod.
- Generally, only the Console will have /var/lib/twistlock mounted to a PV.
- The Defender will not write to a PV unless the Console and the Defender Pods are running on the same host.
- If the Console is down, the Defender will continue to write logs to the host running the Defender pod.
- For more information, Refer: Log Rotation