Send job results directly to your Elastic Cloud instance using this connector.
This topic includes:
This export supports “basic authentication” including “Security”(formally “Shield”) of Elastic Cloud.
The query result doesn’t support LDAP and Active Directory that are provided by “Security”.
Elastic Cloud result output supports TCP/9200 as a default. Elastic Cloud provides different a port for every user.
This export supports “Security” for Elastic Cloud with Elastic Cloud Result Output.
LDAP or other authentication methods are not supported.
Basic knowledge of Treasure Data, including the TD Toolbelt.
Data imported into Treasure Data, that you want to export into Elastic Cloud.
Working knowledge of SQL, Hive, or Presto.
A working Elastic Cloud instance. Recommend version 2.0 or greater.
You can use this with your own Elastic Cloud instance running in your environment.
Also, a knowledge of the following Elastic Cloud hierarchy is helpful:
Description of Value to Specify
A collection of one or more servers (nodes) that collectively hold and provides search and indexing functionality for your entire dataset.
A single server that is part of (or all of) your cluster.
This is analogous to a database. An index is a collection of documents with somewhat similar characteristics.
This is analogous to a table. One or more types is defined within an index. A type is a logical category or partition of your index.
A column containing each name for each row/record. In Elastic Cloud result export, this setting is optional.
For more information, go to the Elastic Cloud documentation.
Define the Data Export from Treasure Data
Complete the instructions in Creating a Destination Integration.
Navigate to Data Workbench > Queries.
Select a query for which you would like to export data.
Run the query to validate the result set.
Select Export Results To.
Use the selection dialog to select your destination connection. For example:
Define any additional Export Results details.
Run your query.
Validate that your data moved to the destination you specified.
For example, open your Google sheet file and validate that is populated with data.
When you execute your query, Treasure Data query result is imported into Elastic Cloud.
Validate Your Export Data within the Elastic Cloud Instance
You can sanity check the data on your elastic search index with a simple query. Assuming the IP and port on your Elastic Cloud instance are
example.com:9200, the following command can dump all your data to a file:
The result is a JSON file with the column names, column types, and content according to the data you’ve previously exported there. An example of what an Elastic Cloud query might output is as follows:
Tune Timeout Exceptions
Bulk actions and
Bulk size helps increase the records in every insert requests and reduces the HTTP requests. If you don’t get good results, consider upgrading your instance specs.