You can enable and configure the audit capabilities in Talend Data Preparation to ensure that the events are tracked and recorded properly.
All user actions on designated item in Talend Data Preparation can be audited. Audit events show who took the action, what was the exact operation and when it happened. You can also decide to disable the audit capabilities and stop generating audit events in certain circumstances.
Audit events include the following:
|Folder||A folder has been created.|
|A folder has been deleted.|
|A folder has been renamed.|
|A folder has been shared.|
|Preparation||A preparation has been created.|
|A preparation has been deleted.|
|A preparation has been copied.|
|A preparation has been moved.|
|A preparation has been renamed.|
|A preparation has been imported.|
|Step||A step has been created.|
|A step has been updated.|
|A step has been deleted.|
|A step has been reordered.|
|A step has been copied from an existing preparation.|
|Version||A version has been added.|
|Export||A sample from a preparation has been exported.|
|All the data from a preparation has been exported.|
|Studio run||A preparation has been used in a Talend Job with the tDataprepRun component.|
Before you begin
You have installed Talend Log Server when installing Talend Data Preparation.
- Open the <TDP_installation_path>/dataprep/config/application.properties file.
Set the value of the
- Open the <TDP_installation_path>/dataprep/config/audit.properties file.
log.appenderparameter, select one, or several of the following values:
This value must no be used.
The log entries will be stored into a .json file.
You can optionnally configure a Filebeat instance to pick up up new messages and send them to Logstash. To configure Filebeat, edit the <TDP_installation_path>/filebeat.yml file.
The audit log messages will be stored in the <TDP_installation_path>/data/logs/app.log log file.
The log entries will be sent through HTTP requests.
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.
- Save your changes.
- Start Talend Log Server.
- Start Filebeat if you want to use it.
- Start Talend Data Preparation if you want to use it.