Can PSM for SSH log files be deleted automatically?

Can PSM for SSH log files be deleted automatically?

85
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:58 PM


Question


The log files of PSM for SSH have been output in following folder,
/var/opt/CARKpsmp/logs/components

And log files tend to be bloated. Especially when debug mode is enabled.
Also, when we checked this files, some logs are over a year old and do not appear to be rotated or discarded on a regular basis.

So we would like to do something about the log bloat.
In this case, is it possible following solution?

- Set expiration date for log size output by PSMforSSH
- Set the maximum log capacity

Or if we delete the old log size, will it affect the operation of PSM for SSH and viewing of Monitring, etc.?
 


Environment


11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;14.2

Answer


PSMP does not have the function to delete old logs automatically. This should be done by manually. Or you can do it with CronJob as scheduled task.

Actions
  • Print
  • Copy Link

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