dbeaver.asciidoc 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [role="xpack"]
  2. [[sql-client-apps-dbeaver]]
  3. === DBeaver
  4. You can use the {es} JDBC driver to access {es} data from DBeaver.
  5. 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.
  6. ==== Prerequisites
  7. * https://dbeaver.io/[DBeaver] version 6.0.0 or higher
  8. * {es-sql} <<sql-jdbc, JDBC driver>>
  9. ==== New Connection
  10. Create a new connection either through the menu *File* > *New* > *Database Connection* menu or directly through the *Database Connection* panel.
  11. image:images/sql/client-apps/dbeaver-1-new-conn.png[]
  12. ==== Select {es} type
  13. Select the {es} type from the available connection types:
  14. image:images/sql/client-apps/dbeaver-2-conn-es.png[]
  15. ==== Specify the {es} cluster information
  16. Configure the {es-sql} connection appropriately:
  17. image:images/sql/client-apps/dbeaver-3-conn-props.png[]
  18. ==== Verify the driver version
  19. Make sure the correct JDBC driver version is used by using the *Edit Driver Settings* button:
  20. image:images/sql/client-apps/dbeaver-4-driver-ver.png[]
  21. DBeaver is aware of the {es} JDBC maven repository so simply *Download/Update* the artifact or add a new one. As an alternative one can add a local file instead if the {es} Maven repository is not an option.
  22. When changing the driver, make sure to click on the *Find Class* button at the bottom - the Driver class should be picked out automatically however this provides a sanity check that the driver jar is properly found and it is not corrupt.
  23. ==== Test connectivity
  24. Once the driver version and the settings are in place, use *Test Connection* to check that everything works. If things are okay, one should get a confirmation window with the version of the driver and that of {es-sql}:
  25. image:images/sql/client-apps/dbeaver-5-test-conn.png[]
  26. Click *Finish* and the new {es} connection appears in the *Database Connection* panel.
  27. DBeaver is now configured to talk to {es}.
  28. ==== Connect to {es}
  29. Simply click on the {es} connection and start querying and exploring {es}:
  30. image:images/sql/client-apps/dbeaver-6-data.png[]