dbvis.asciidoc 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [role="xpack"]
  2. [[sql-client-apps-dbvis]]
  3. === DbVisualizer
  4. You can use the {es} JDBC driver to access {es} data from DbVisualizer.
  5. IMPORTANT: Elastic does not endorse, promote or provide support for this application.
  6. ==== Prerequisites
  7. * https://www.dbvis.com/[DbVisualizer] 13.0 or higher
  8. * {es-sql} <<sql-jdbc, JDBC driver>>
  9. Note::
  10. Pre 13.0 versions of DbVisualizer can still connect to {es} by having the <<sql-jdbc, JDBC driver>> set up from the generic *Custom* template.
  11. ==== Setup the {es} JDBC driver
  12. Setup the {es} JDBC driver through *Tools* > *Driver Manager*:
  13. image:images/sql/client-apps/dbvis-1-driver-manager.png[]
  14. Select *Elasticsearch* driver template from the left sidebar to create a new user driver:
  15. image:images/sql/client-apps/dbvis-2-driver-manager-elasticsearch.png[]
  16. Download the driver locally:
  17. image:images/sql/client-apps/dbvis-3-driver-manager-download.png[]
  18. and check its availability status:
  19. image:images/sql/client-apps/dbvis-4-driver-manager-ready.png[]
  20. ==== Create a new connection
  21. Once the {es} driver is in place, create a new connection:
  22. image:images/sql/client-apps/dbvis-5-new-conn.png[]
  23. by double-clicking the {es} entry in the list of available drivers:
  24. image:images/sql/client-apps/dbvis-6-new-conn-elasticsearch.png[]
  25. Enter the connection details, then press *Connect* and the driver version (as that of the cluster) should show up under *Connection Message*.
  26. image:images/sql/client-apps/dbvis-7-new-conn-connect.png[]
  27. ==== Execute SQL queries
  28. The setup is done. DbVisualizer can be used to run queries against {es} and explore its content:
  29. image:images/sql/client-apps/dbvis-8-data.png[]