Configuring Talend logging modules with an external Elastic stack - 6.4

Talend Data Management Platform Installation Guide for Linux

Talend Data Management Platform
Installation and Upgrade
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend Installer
Talend JobServer
Talend Log Server
Talend Project Audit
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio

The following sections explain how to configure your external Elastic for Data Integration, ESB or MDM.

Configuring Logstash and Elasticsearch in an external Elastic stack

If you want to use your external ELK stack to collect and classify logs from Data Integration, ESB or MDM, you need to perform the following configuration on your Logstash and Elasticsearch:

  1. Create/edit your Logstash configuration file as follows:

    • In the input section, you add the configuration ports for Talend components.

    • In the output section, you configure Elasticsearch as output.


      The options user and password should match your Elasticsearch credentials.

      If you are not using a true Certificate Authority (CA), set the option ssl_certificate_verification to false.

    input {
      log4j {
        port => 8050
        type => "TAC"
      log4j {
        port => 8052
        type => "Components"
      log4j {
        port => 8053
        type => "MDM-Server"
      log4j {
        port => 8054
        type => "MDM-Match"
      log4j {
        port => 8055
        type => "JobServer"
    output {
      elasticsearch { 
          hosts => ["https://ELK_HOST:9200"] 
          ssl => true
          ssl_certificate_verification => true
          user => "<es_user>"
          password => "<es_password>"
  2. Before starting Elasticsearch, open a shell/prompt and configure the ES_JAVA_OPTS environment variable as follows:

    • export ES_JAVA_OPTS="-Dmapper.allow_dots_in_name=true".

  3. Start Elasticsearch.

  4. Restart Logstash with the .conf configuration file:

    • ${LOGSTASH_HOME}/bin/logstash -f ${LOGSTASH_CONFIG_FILE}.

Importing Talend Kibana dashboard templates: prerequisites

If you wish to import Talend dashboards in Kibana, you must have:

  • Imported the Logstash templates in Elasticsearch using the following commands:


    In the commands below, you must replace ELK_HOST by the Elasticsearch host. The option es_user corresponds to the Elasticsearch user.

    • If you are using a true Certificate Authority (CA):

      curl -u es_user -s -XPUT https://ELK_HOST:9200/_template/template_logstash -d @template_logstash.json
      curl -u es_user -s -XPUT https://ELK_HOST:9200/.kibana/index-pattern/logstash-*  -d @dashboards/index-pattern/logstash.json
    • If you are using self-signed certificates add --insecure option:

      curl --insecure -u es_user -s -XPUT https://ELK_HOST:9200/_template/template_logstash -d @template_logstash.json
      curl --insecure -u es_user -s -XPUT https://ELK_HOST:9200/.kibana/index-pattern/logstash-*  -d @dashboards/index-pattern/logstash.json
  • Created a logstash-* index pattern:

    curl -u es_user -s -XPUT https://ELK_HOST:9200/.kibana/config/4.6.1 -d "{\"defaultIndex\" : \"logstash-*\"}" 

Importing Talend Kibana dashboard templates in an external Elastic stack

Talend provides the following Kibana dashboard templates as part of the open-source Elastic stack shipped with the Talend Log Server. You can also import these dashboard templates in Kibana.

  1. Start Kibana.

  2. Go to Objects, under the Settings tab.

  3. Within each sub-tab, import the templates using the Import/Export buttons:

    Kibana UI tab

    Location of file(s) to upload


    Under Talend-LogServer/dashboards/dashboard:

    • default.json


    Under Talend-LogServer/dashboards/search:

    • TABLE.json


    Under Talend-LogServer/dashboards/visualization:




    • GROUP-BY-SOURCE.json

    • Middleware-Navigation.json

    • TIMELINE.json