An experimental Google Sheets add-on to view and interact with Elasticsearch indices
An experimental Google Sheets add-on to view and interact with Elasticsearch indices
Data table
showing Elasticsearch query results as a tableAggregation table
showing Elasticsearch aggregations results as a tablepainless
autocompletionMapReduce
logic"Data Explorer"
template that provides a summary for each field in the datasetSQL table
providing an interface to Elasticsearch SQL
Management table
cat
endpointsAfter installation (see below), simply:
Build New Table...
,Query > Indices
or SQL > Indices
Create
or Test
itMore demos can be found here
The intention is for this project to be consumable as a Google Sheets add-on
In the meantime, if you trust me (general disclaimer: please don’t unless you have some reason to!), request a share of this spreadsheet, and make a copy of it.
The menu options will be available under Add-ons > Elastic-sheets-share
.
(It may be necessary to open/close the Add-Ons
dialog before the menu item appears).
To use the functionality you will have to grant it whatever permissions it wants. The original spreadsheet lists the current release status.
Alternatively, the following steps allow it to be built and used from source:
clasp
clasp login
(follow oauth instructions to authenticate via Google)cd
to elasticsearch-sheets/elastic-sheets-project
and run clasp create elasticSheetsProjects
cd
to elasticsearch-sheets
and run sh build-elastic-sheets-project.sh elastic-sheets-project
Elastic-sheets-project
Open Container
project to open a spreadsheet with the script attached (requires clicking through a bunch of permissions/disclaimers first time)elastic-sheets-project
multiple times, delete the .clasp.json
inside the dir, and repeat the clasp create <projectname>
and sh build-elastic-sheets-project.sh
steps. Or just create copies of an existing spreadsheet.If you are using the Google Sheets add-on version of this in the marketplace (or in fact any of the ways of deploying this), please note I do not nor will I ever store or export any user data from your account. This section is added for compliance with the Google API terms of service.
To run the unit/integration tests:
file://<path>/elasticsearch-sheets/test/frontend/testFramework.html
TestService.gs
and execute testRunner
.__ES_SHEETS_TEST__