How to clear PTA data

How to clear PTA data

127
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:06 PM


Symptom


You can reset PTA to clear all data gathered by the system, including baseline information, events, incidents and audits. For example, you can delete all POC-related data prior to production deployment.


Official documentation:

https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/12.2/en/Content/PTA/Resetting-PTA-Data.htm


To Reset PTA to Clear All Data:

1. On the system console, log in as the ptauser user using the password you specified during installation.

2. Initialize PTA by running the following command:

  sudo /opt/tomcat/utility/run.sh

3. Using the PTA utility, do the following:

  a. Clear only the analysis results. Select 10 - Clear analysis data.

  Clear analysis data will permanently delete all previous detected incidents/events at the PTA server. The total number of detected security events will be reset to 0.

  b. Clear all the data from the database. Select 11 - Clear database.

    PTA will purge all corresponding records including audits count saved in the database. The result is a PTA server that is as good as a newly setup PTA server without any data.

  c. Stop the Tomcat Web Server. Select 5 - Stop Tomcat Web Server.

  d. Start the Tomcat Web Server. Select 6 - Start Tomcat Web Server.


Important Note:

The above process is irreversible. Please consider the above options with care and advise the implications of exercising the above options in terms of data loss to the business users.



Environment


12.1;12.2;12.6 Privileged Access Manager (PAM, self-hosted) PTA PTA PTA Utilities

Actions
  • Print
  • Copy Link

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