Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 8 additions & 14 deletions explore-analyze/query-filter/languages/sql-client-apps-dbvis.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You can use the {{es}} JDBC driver to access {{es}} data from DbVisualizer.
Elastic does not endorse, promote or provide support for this application.
::::


## Prerequisites [_prerequisites_3]

* [DbVisualizer](https://www.dbvis.com/) 13.0 or higher
Expand All @@ -25,46 +24,41 @@ Elastic does not endorse, promote or provide support for this application.
Note
: Pre 13.0 versions of DbVisualizer can still connect to {{es}} by having the [JDBC driver](sql-jdbc.md) set up from the generic **Custom** template.



## Setup the {{es}} JDBC driver [_setup_the_es_jdbc_driver]

Setup the {{es}} JDBC driver through **Tools** > **Driver Manager**:

![dbvis 1 driver manager](/explore-analyze/images/elasticsearch-reference-dbvis-1-driver-manager.png "")
![dbvis driver manager](/explore-analyze/images/elasticsearch-reference-dbvis_open_driver_manager.png "")

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

![dbvis 2 driver manager elasticsearch](/explore-analyze/images/elasticsearch-reference-dbvis-2-driver-manager-elasticsearch.png "")
![dbvis driver manager elasticsearch](/explore-analyze/images/elasticsearch-reference-dbvis_new_driver_done.png "")

Download the driver locally:

![dbvis 3 driver manager download](/explore-analyze/images/elasticsearch-reference-dbvis-3-driver-manager-download.png "")
![dbvis driver manager download](/explore-analyze/images/elasticsearch-reference-dbvis_new_driver_start.png "")

and check its availability status:

![dbvis 4 driver manager ready](/explore-analyze/images/elasticsearch-reference-dbvis-4-driver-manager-ready.png "")
![dbvis driver manager ready](/explore-analyze/images/elasticsearch-reference-dbvis_new_driver_refresh.png "")


## Create a new connection [_create_a_new_connection]

Once the {{es}} driver is in place, create a new connection:

![dbvis 5 new conn](/explore-analyze/images/elasticsearch-reference-dbvis-5-new-conn.png "")
![dbvis new connection](/explore-analyze/images/elasticsearch-reference-dbvis_add_db_connection.png "")

by double-clicking the {{es}} entry in the list of available drivers:

![dbvis 6 new conn elasticsearch](/explore-analyze/images/elasticsearch-reference-dbvis-6-new-conn-elasticsearch.png "")
![dbvis new elasticsearch connection](/explore-analyze/images/elasticsearch-reference-dbvis_add_connection.png "")

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](/explore-analyze/images/elasticsearch-reference-dbvis-7-new-conn-connect.png "")

![dbvis enter connection details](/explore-analyze/images/elasticsearch-reference-dbvis_connection_details.png "")

## Execute SQL queries [_execute_sql_queries]

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

![dbvis 8 data](/explore-analyze/images/elasticsearch-reference-dbvis-8-data.png "")


![dbvis running queries](/explore-analyze/images/elasticsearch-reference-dbvis_hero.png "")
Loading