Skip to main content

Appendix K: Setup Auto-Purging

Auto-purging means removing of obsolete data automatically. This functionality has been implemented for all the components that generates log files. PK Protect allows you to auto purge the log files. You can define the size of the log files exceeding which, the log files are subjected to a roll over. The default size of the log file is 100 MB.

In addition to this, you can specify the number of days after which the log files are automatically deleted. The default value is 30 days. Following are the properties:

Following is the name and path of the file for different IDPs, in which these properties exist:

IDP

File Name

Path

HDFS/ LFA

log4j2.xml

<Installation_directory>/Dataguise/DgSecure/Agents/HDFSAgent/expandedArchive/WEB-INF/classes/log4j2.xml

Cloud Agents(Azure, GCS, AWS)

log4j2.xml

<Installation_directory>/Dataguise/DgSecure/Agents/CloudAgent/log4j2.xml                                       

DBMS Discover

log4j2.xml

<Installation_directory>/Dataguise/DgSecure/Agents/DgDiscoverAgent/expandedArchive/WEB-INF/classes/log4j2.xml

DBMS Masker

log4j2.xml

<Installation_directory>/Dataguise/DgSecure/Agents/DgMaskerAgent/expandedArchive/WEB-INF/classes/log4j2.xml

GDPR/Privacy

log4j2.xml

<Installation_directory>/Dataguise/DgSecure/Agents/GDPRAgent/expandedArchive/WEB-INF/classes/log4j2.xml

Hive

log4j2.xml

<Install_directory>/Dataguise/DgSecure/Agents/HiveAgent/conf/log4j2.xml

NoSQL

log4j2.xml

<Installation_directory>/Dataguise/DgSecure/Agents/DgNoSQLAgent/expandedArchive/WEB-INF/classes/log4j2.xml

DgWalker

log4j2.properties

<Installation_directory>/Dataguise/DgSecure/Agents/DgWalkerAgent/log4j2.properties

HBase

log4j2.xml

<Install_directory>/Dataguise/DgSecure/Agents/HBaseAgent/expandedArchive/WEB-INF/classes/log4j2.xml

Hadoop Control

log4j.properties

<Install_directory>/Dataguise/DgSecure/Agents/MonitoringAgent/expandedArchive/WEB-INF/classes/log4j.properties

SharePoint

Web.config

<Install_directory>/Dataguise/logs/application.log

Monitoring

dgsyslog4j2.xml

<Install_directory>/Dataguise/DgSecure/tomcat9/webapps/dgcontroller/WEB-INF/classes/syslogger/dgsyslog4j2.xml

Tomcat Component

File Name

Path

dgControl

log4j2.xml

<Install_directory>/Dataguise/DgSecure/tomcat9/webapps/dgControl/WEB-INF/classes/log4j2.xml

DSM Administrator

log4j2.xml

<Install_directory>/Dataguise/DgSecure/tomcat9/webapps/dgcontroller/WEB-INF/classes/log4j2.xml

dgHdfsInfoProcessingEngine

log4j2.xml

<Install_directory>/Dataguise/DgSecure/tomcat9/webapps/dgHdfsInfoProcessingEngine/WEB-INF/classes/log4j2.xml

dgUI

log4j2.xml

<Install_directory>/Dataguise/DgSecure/tomcat9/webapps/dgUI/WEB-INF/classes/log4j2.xml

dgDashboardUI

log4j.properties

<Install_directory>/Dataguise/DgSecure/tomcat9/webapps/dgDashboardUI/WEB-INF/classes/log4j.properties

dgDashboardRest

log4j.properties

<Install_directory>/Dataguise/DgSecure/tomcat9/webapps/dgDashboardRest/WEB-INF/classes/log4j.properties

DgLogReader

log4j.properties

<Install_directory>/Dataguise/DgSecure/tomcat9/webapps/DgLogReader/WEB-INF/classes/log4j.properties

DgSecureServices

log4j.properties

<Install_directory>/Dataguise/DgSecure/tomcat9/webapps/DgSecureServices/WEB-INF/classes/log4j.properties

The user must restart the IDP/Tomcat to make the changes effective.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.