tElasticSearchOutput
Writes datasets into a given Elasticsearch system.
tElasticSearchOutput receives RDDs
(Resilient Distributed Datasets) from its preceding component and writes
(update or insert) them into Elasticsearch, a real-time distributed
search and analytics engine, by translating the contents of these
datasets into Elasticsearch documents.
Depending on the Talend
product you are using, this component can be used in one, some or all of the following
Job frameworks:
-
Spark Batch: see tElasticSearchOutput properties for Apache Spark Batch.
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric. -
Spark Streaming: see tElasticSearchOutput properties for Apache Spark Streaming.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
tElasticSearchOutput properties for Apache Spark Batch
These properties are used to configure tElasticSearchOutput running in the Spark Batch Job framework.
The Spark Batch
tElasticSearchOutput component belongs to the ElasticSearch family.
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric.
Basic settings
Schema and Edit |
A schema is a row description. It defines the number of fields |
||
 |
Built-In: You create and store the schema locally for this component |
||
 |
Repository: You have already created the schema and stored it in the |
||
 |
Click Edit
|
||
Use an existing |
Select this check box and in the Component List click the relevant connection component to |
||
Nodes |
Enter the location of the cluster hosting the Elasticsearch system to be used. |
||
Index |
Enter the name of the index in which you want to write documents. An index is the largest unit of storage in the Elastisearch system. |
||
Type |
Enter the name of the type the documents to be written belong to. For example, blogpost_en and blogpost_fr can be two types that represent given English blog posts and You can dynamically uses the values of a given column to be document types. If you need to |
||
Output document |
Select how the document is written into Elasticsearch.
|
Advanced settings
Document metadata |
Complete this table to select the input columns to be used to provide metadata for each The Column column is automatically fed with the columns In the Metadata type column, select which type of For further information about the metadata types of an Elasticsearch document, see https://www.elastic.co/guide/en/elasticsearch/guide/current/_document_metadata.html. |
Use SSL/TLS |
Select this check box to enable the SSL or TLS encrypted connection. Then you need to use the tSetKeystore |
Configuration |
Add the parameters accepted by Elasticsearch to perform more customized actions. For example, enter es.mapping.id in the Key column and true in the For a list of the parameters you can use, see https://www.elastic.co/guide/en/elasticsearch/hadoop/master/configuration.html. |
Usage
Usage rule |
This component is used as an end component and requires an input link. Drop a tElasticSearchConfiguration component in the same Job to connect to
ElasticSearch. Then you need to select the Use an existing configuration check box and then select the tElasticSearchConfiguration component to be used.
This component, along with the Spark Batch component Palette it belongs to, Note that in this documentation, unless otherwise explicitly stated, a |
Spark Connection |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Related scenarios
No scenario is available for the Spark Batch version of this component
yet.
tElasticSearchOutput properties for Apache Spark Streaming
These properties are used to configure tElasticSearchOutput running in the Spark Streaming Job framework.
The Spark Streaming
tElasticSearchOutput component belongs to the ElasticSearch family.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
Basic settings
Schema and Edit |
A schema is a row description. It defines the number of fields |
||
 |
Built-In: You create and store the schema locally for this component |
||
 |
Repository: You have already created the schema and stored it in the |
||
 |
Click Edit
|
||
Use an existing |
Select this check box and in the Component List click the relevant connection component to |
||
Nodes |
Enter the location of the cluster hosting the Elasticsearch system to be used. |
||
Index |
Enter the name of the index in which you want to write documents. An index is the largest unit of storage in the Elastisearch system. |
||
Type |
Enter the name of the type the documents to be written belong to. For example, blogpost_en and blogpost_fr can be two types that represent given English blog posts and You can dynamically uses the values of a given column to be document types. If you need to |
||
Output document |
Select how the document is written into Elasticsearch.
|
Advanced settings
Document metadata |
Complete this table to select the input columns to be used to provide metadata for each The Column column is automatically fed with the columns In the Metadata type column, select which type of For further information about the metadata types of an Elasticsearch document, see https://www.elastic.co/guide/en/elasticsearch/guide/current/_document_metadata.html. |
Use SSL/TLS |
Select this check box to enable the SSL or TLS encrypted connection. Then you need to use the tSetKeystore |
Configuration |
Add the parameters accepted by Elasticsearch to perform more customized actions. For example, enter es.mapping.id in the Key column and true in the For a list of the parameters you can use, see https://www.elastic.co/guide/en/elasticsearch/hadoop/master/configuration.html. |
Usage
Usage rule |
This component is used as an end component and requires an input link. Drop a tElasticSearchConfiguration component in the same Job to connect to
ElasticSearch. Then you need to select the Use an existing configuration check box and then select the tElasticSearchConfiguration component to be used.
This component, along with the Spark Streaming component Palette it belongs to, appears Note that in this documentation, unless otherwise explicitly stated, a scenario presents |
Spark |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Related scenarios
No scenario is available for the Spark Streaming version of this component
yet.