Skip to main content Skip to complementary content

Enabling and configuring the audit capability in Talend Dictionary Service

You can enable and configure the audit capability in Talend Dictionary Service to ensure the audit events are tracked and recorded properly.

The audit capability in Talend Dictionary Service is enabled by default.

For more information about the audit function, see the section on audit logs of Talend Administration Center User Guide.

Procedure

  1. Browse to the file <Installation_Path>/dq_dict/apache-tomcat/conf/data-quality.properties and open it.
  2. Check that the property for the exact path to the audit logging configuration file is set to talend.logging.audit.config=${catalina.base}/conf/audit.properties.
    Under certain circumstances, for example during migration, you may want to avoid generating audit events. To disable the audit capability, comment out the property talend.logging.audit.config.
  3. Browse to the file <Installation_Path>/dq_dict/apache-tomcat/conf/audit.properties and open it.
  4. Configure the audit logging properties according to your needs.
    You can choose to use all of the log appenders (file and http) or only one of them.
    Property Description
    log.appender=http The log entries will be sent through HTTP requests.

    You need to specify the URL and the access credentials (if any). For example:

    appender.http.url=http://localhost:8057/
    appender.http.async=true
    #appender.http.username=talendlogs
    #appender.http.password=tpsvclogs

    You can check the audit events later by accessing the log service platform http://[log server address]:5601 and selecting talendaudit* from the Dashboard list in the upper left corner.

    log.appender=file The log entries will be placed into a JSON file. In most cases there should be a Filebeat instance picking up new messages and sending them to Logstash.

    You need to specify the exact path to the file, the maximum size of the file (once exceeded, a new backup file will be created), and the maximum number of backup files allowed in one day. For example:

    appender.file.path=${catalina.base}/logs/audit.log
    appender.file.maxsize=52428800
    appender.file.maxbackup=20
  5. Save your changes into the file.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!