Send job results directly to your Elastic Cloud instance using this connector.

This topic includes:



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.

  • comma-separated list of nodes


This is analogous to a database. An index is a collection of documents with somewhat similar characteristics.

  • the name of the index


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.

  • the name of the type


A column containing each name for each row/record. In Elastic Cloud result export, this setting is optional.

  • (optional) the name of the ID column

For more information, go to the Elastic Cloud documentation.

Define the Data Export from Treasure Data

  1. Complete the instructions in Creating a Destination Integration.

  2. Navigate to Data Workbench > Queries.

  3. Select a query for which you would like to export data.

  4. Run the query to validate the result set.

  5. Select Export Results To.

  6. Use the selection dialog to select your destination connection. For example:

  7. Define any additional Export Results details.
    For example:

  8. Select Done.

  9. Run your query.

  10. 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, the following command can dump all your data to a file:

$ curl -XGET -i '*/_search' --user <username>:<password> > dump.txt

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:

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 2283


Tune Timeout Exceptions

Increasing 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.