How to disable the display of log events on the Logging page of Talend Administration Center

EnrichVersion
6.4
6.3
6.2
6.1
6.0
5.6
EnrichProdName
Talend Data Services Platform
Talend ESB
Talend Data Management Platform
Talend Big Data
Talend MDM Platform
Talend Big Data Platform
Talend Data Fabric
Talend Real-Time Big Data Platform
Talend Data Integration
task
Installation and Upgrade
Administration and Monitoring > Monitoring logs
EnrichPlatform
Talend Log Server
Talend Installer
Talend Administration Center

How to disable the display of log events on the Logging page of Talend Administration Center

Talend Administration Center allows you to display, search and classify logs related to DI, ESB and MDM events via the Logging page which is based on Kibana. However, since these logs are stored without specific security protection, you might want to disable them.

Customizing the installation with Talend Installer to avoid the installation of the Logging module and Talend Log Server

By default, Talend Installer automatically deploys Talend Administration Center and the Logging module (based on Kibana) in the Tomcat server and installs a pre-configured Talend Log Server (which is the backend of the Logging module).

Procedure

  1. In Talend Installer, select the Custom installation type.
  2. In the list of products to install, clear the Talend Log Server check box in order not to install this component.

Results

Log events will not be collected and the Logging page in Talend Administration Center will not be available.

Disabling logs on the Talend Administration Center Configuration page

Before you begin

  • You have launched and logged in the Talend Administration Center web application.

Procedure

  1. Go to the Configuration page.
  2. In the Log4j node of the page, clear the value of the Technical logstash appender parameter.

Results

Talend Administration Center will store the logs in the default log4j.xml file and thus the logs will not be displayed on the Logging page of the web application.

Editing the configuration files for logs

DI and MDM log events are defined in different appenders configured in logstash-talend.conf (within the Talend-LogServer) and log4j.xml files. You can comment out some of them in order to prevent these logs from appearing on the Logging page.

Additionally, in ESB, the Event Logging feature provides an optional configuration to use the Talend Log Server as backend for log events collected on the distributed Talend ESB Runtime container. By default, it is disabled but you can change it in the etc/org.talend.eventlogging.server.cfg file.

Procedure

  1. For DI, MDM and ESB logs (Talend Administration Center only):
    1. Stop the Talend Log Server, and open the following file: <TalendLogServerInstallationDirectory>/logstash-talend.conf
      If the server is installed as a service, you need to stop this service (called tlogserver).
      Tip: For Windows users: To stop the Talend Log Server, open the Services configuration panel and stop the service called tlogserver.
    2. Comment out the appender corresponding to the logs you do not want to display in Talend Administration Center, and save your changes.
  2. For ESB (Event Logging):
    1. Open the following file: etc/org.talend.eventlogging.server.cfg
    2. Set the elasticsearch.available=false property to false (which is the default after installation anyway).
    3. Restart the Event Logging Server Feature in the Talend ESB Runtime container to make this change effective.

      tesb:stop-el-server

      tesb.start-el-server

      Note that the Talend Log Server and the Logging module in Talend Administration Center are optional and if you do not need the central logging there is no further dependencies to other features within the Talend Platform.