Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Latest commit

 

History

History
74 lines (44 loc) · 2.78 KB

README.md

File metadata and controls

74 lines (44 loc) · 2.78 KB

Open Distro for Elasticsearch SQL Workbench

The Open Distro for Elasticsearch SQL Workbench enables you to query your Elasticsearch data using SQL syntax from a dedicated Kibana UI. You can download your query results data in JSON, JDBC, CSV and raw text formats.

Documentation

Please see our technical documentation to learn more about its features.

Setup

  1. Download Elasticsearch for the version that matches the Kibana version specified in package.json.

  2. Download and install the most recent version of Open Distro for Elasticsearch SQL plugin.

  3. Download the Kibana source code for the version specified in package.json you want to set up.

    See the Kibana contributing guide for more instructions on setting up your development environment.

  4. Change your node version to the version specified in .node-version inside the Kibana root directory.

  5. cd into the Kibana source code directory.

  6. Check out this package from version control into the plugins directory.

git clone git@github.com:opendistro-for-elasticsearch/sql.git plugins --no-checkout
cd plugins
echo 'sql-workbench/*' >> .git/info/sparse-checkout
git config core.sparseCheckout true
git checkout master
  1. Run yarn kbn bootstrap inside kibana/plugins/sql-workbench.

Ultimately, your directory structure should look like this:

.
├── kibana
│   └── plugins
│       └── sql-workbench

Build

To build the plugin's distributable zip simply run yarn build.

Example output: ./build/opendistro-sql-workbench-*.zip

Run

  • yarn start

    Starts Kibana and includes this plugin. Kibana will be available on localhost:5601.

  • NODE_PATH=../../node_modules yarn test:jest

    Runs the plugin tests.

Contributing to Open Distro for Elasticsearch SQL Workbench

Bugs, Enhancements or Questions

Please file an issue to report any bugs you may find, enhancements you may need or questions you may have here.

License

This code is licensed under the Apache 2.0 License.

Copyright

Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.