PTA - Diamond log logging events in different time zone to server

PTA - Diamond log logging events in different time zone to server

93
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:12 PM


Symptom


Events are being logged in diamond log in one timezone even though the timezone on the Linux server is correct and the correct timezone is set in LOCALPARM.

For example, when running the 'date' command from the PTA server console, you might see this:
"Thu Aug 25 16:00:00 BST 2022"

 

However, when checking the diamond log, events will be logged like this:
"LOG | [2022-06-12|12:13:14.199|CEST] | DEBUG | {aid=listener} | {sid=} | {rid=} ......."

 

This can cause false positive alerts if all other components and agents are correctly time synched with the PTA server.



Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) PTA

PTA



Cause


The time zone has not been correctly set in PTA using the PTA internal tools



Resolution


1. From the PTA server console, run UTILITYDIR and run the following:
.\dateAndTimezoneConfiguration.sh

2. Set the correct date and timezone and configure an NTP server if one is available. Then run 'service appmgr restart'.

3. Check the diamond.log file. It should now be logging entries with the correct timestamp.



Actions
  • Print
  • Copy Link

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