DbVisualizeredit

You can use the Elasticsearch JDBC driver to access Elasticsearch data from DbVisualizer.

Elastic does not endorse, promote or provide support for this application.

Prerequisitesedit

  • DbVisualizer 13.0 or higher
  • Elasticsearch SQL JDBC driver

    Note
    Pre 13.0 versions of DbVisualizer can still connect to Elasticsearch by having the JDBC driver set up from the generic Custom template.

Setup the Elasticsearch JDBC driveredit

Setup the Elasticsearch JDBC driver through Tools > Driver Manager:

dbvis 1 driver manager

Select Elasticsearch driver template from the left sidebar to create a new user driver:

dbvis 2 driver manager elasticsearch

Download the driver locally:

dbvis 3 driver manager download

and check its availability status:

dbvis 4 driver manager ready

Create a new connectionedit

Once the Elasticsearch driver is in place, create a new connection:

dbvis 5 new conn

by double-clicking the Elasticsearch entry in the list of available drivers:

dbvis 6 new conn elasticsearch

Enter the connection details, then press Connect and the driver version (as that of the cluster) should show up under Connection Message.

dbvis 7 new conn connect

Execute SQL queriesedit

The setup is done. DbVisualizer can be used to run queries against Elasticsearch and explore its content:

dbvis 8 data