Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

amazon-archives/sql-workbench

NOTE: We have merged this repository into Open Distro for Elasticsearch SQL as of 7/9/20. Please visit here for latest updates on SQL Workbench. Thanks.

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 plugins directory in the Kibana source code directory.

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

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