dbvis.asciidoc 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [role="xpack"]
  2. [testenv="platinum"]
  3. [[sql-client-apps-dbvis]]
  4. === DbVisualizer
  5. You can use the {es} JDBC driver to access {es} data from DbVisualizer.
  6. IMPORTANT: Elastic does not endorse, promote or provide support for this application; for native Elasticsearch integration in this product, please reach out to its vendor.
  7. ==== Prerequisites
  8. * https://www.dbvis.com/[DbVisualizer] 10.0.21 or higher
  9. * {es-sql} <<sql-jdbc, JDBC driver>>
  10. ==== Add {es} JDBC driver
  11. Add the {es} JDBC driver to DbVisualizer through *Tools* > *Driver Manager*:
  12. image:images/sql/client-apps/dbvis-1-driver-manager.png[]
  13. Select *Elasticsearch* driver name from the left sidebar and add the JDBC driver in the files panel through the buttons on the right; if there is no such driver name check the DbVisualizer version or create a new driver entry through *Driver* > *Create Driver*.
  14. image:images/sql/client-apps/dbvis-2-driver.png[]
  15. Once specified, the driver class and its version should be automatically picked up - one can force the refresh through the *Find driver in listed locations* button, the second from the bottom on the right hand side:
  16. image:images/sql/client-apps/dbvis-3-add-driver.png[]
  17. ==== Create a new connection
  18. Once the {es} driver is in place, create a new connection:
  19. image:images/sql/client-apps/dbvis-4-new-conn.png[]
  20. One can use the wizard or add the settings all at once:
  21. image:images/sql/client-apps/dbvis-5-conn-props.png[]
  22. Press *Connect* and the driver version (as that of the cluster) should show up under *Connection Message*.
  23. ==== Execute SQL queries
  24. The setup is done. DbVisualizer can be used to run queries against {es} and explore its content:
  25. image:images/sql/client-apps/dbvis-6-data.png[]