Example Code for Exporting Data from Elasticsearch Index to Google Sheets via Apps Script

Hi All, I I'm currently trying to export data from an Elasticsearch index into Google Sheets using Google Apps Script, but I'm having difficulty with the integration. Specifically, I'm looking for an example script that:

  1. Connects to an Elasticsearch endpoint (via basic authentication).
  2. Queries the Elasticsearch index using filters and aggregations.
  3. Exports the data from the query results and writes it into a Google Sheet.

From Elastic Search to Elasticsearch

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.