Setting up monitoring and auditing systems for Talend JobServer
Configuring stats and trace message transfer for Talend JobServer
About this task
Generally, it is recommended to disable the stats and trace messages transfer parameter for production environments, to avoid an excessive usage of memory and to protect against connections from outside if the network connections from outside are not already blocked.
Using real-time statistics may result in excessive memory usage on JobServer side. If you observe ZeroMQ related memory leaks, disable stats and trace messages on JobServer. With that, real-time statistics on Talend Administration Center will be unavailable.
Procedure
Configuring audit logs for Talend JobServer
Starting from Talend JobServer version 8.0.2.20250110_1323_patch (zip name: Patch_20250114_TPS-6002_v4-8.0.1), you can activate audit logging to track operations triggered by client applications such as Talend Studio or Talend Administration Center.
- Receiving a Job
- Deploying a Job
- Running a Job
- Killing a running Job execution
- Verifying if a user is authorized for an operation
- Getting the useful CRC(Cyclic Redundancy Check) in case of errors before deployment
About this task
<Logger name="org.talend.audit" level="info" additivity="false">
<AppenderRef ref="Audit"/>
</Logger>
- How to activate or deactivate audit logs.
- How to update the audit appender used by this logger to specify the storage of audit logs.
Procedure
Results
By default, audit logs use the MDC format: %X{userId,jobId,utcTime,jobServerId,clientIP,projectId,failed}.
You can retrieve the MDC fields to create a custom log layout such as JSON with named fields.