dbeaver.asciidoc 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [role="xpack"]
  2. [testenv="platinum"]
  3. [[sql-client-apps-dbeaver]]
  4. === DBeaver
  5. [quote, https://dbeaver.io/]
  6. ____
  7. https://dbeaver.io/[DBeaver] DBeaver is free and open source universal database tool for developers and database administrators.
  8. ____
  9. ==== Prerequisites
  10. * DBeaver version 5.1.4 or higher
  11. * {es-sql} <<sql-jdbc, JDBC driver>>
  12. ==== New Connection
  13. Create a new connection either through the menu *File* > *New* > *Database Connection* menu or directly through the *Database Connection* panel.
  14. image:images/sql/client-apps/dbeaver-1-new-conn.png[]
  15. ==== Select {es} type
  16. Select the {es} type from the available connection types:
  17. image:images/sql/client-apps/dbeaver-2-conn-es.png[]
  18. ==== Specify the {es} cluster information
  19. Configure the {es-sql} connection appropriately:
  20. image:images/sql/client-apps/dbeaver-3-conn-props.png[]
  21. ==== Verify the driver version
  22. Make sure the correct JDBC driver version is used by using the *Edit Driver Settings* button:
  23. image:images/sql/client-apps/dbeaver-4-driver-ver.png[]
  24. 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.
  25. 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.
  26. ==== Test connectivity
  27. 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}:
  28. image:images/sql/client-apps/dbeaver-5-test-conn.png[]
  29. Click *Finish* and the new {es} connection appears in the *Database Connection* panel.
  30. DBeaver is now configured to talk to {es}.
  31. ==== Connect to {es}
  32. Simply click on the {es} connection and start querying and exploring {es}:
  33. image:images/sql/client-apps/dbeaver-6-data.png[]