tableau.asciidoc 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [role="xpack"]
  2. [testenv="platinum"]
  3. [[sql-client-apps-tableau]]
  4. === Tableau Desktop
  5. You can use the {es} ODBC driver to access {es} data from Tableau Desktop.
  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.tableau.com/products/desktop[Tableau Desktop] 2018 or higher
  9. * {es-sql} <<sql-odbc, ODBC driver>>
  10. * A preconfigured User or System DSN (see <<dsn-configuration,Configuration>> section on how to configure a DSN).
  11. ==== Data loading
  12. First, you'll need to choose ODBC as the source to load data from. Once launched, click on the _More..._ menu item and in the expanded
  13. list of connectors, choose _Other Databases (ODBC)_:
  14. [[apps_tableau_fromodbc]]
  15. .ODBC as data source
  16. image:images/sql/odbc/apps_tableau_fromodbc.png[]
  17. In the new connection window that appears, select the previously configured DSN that will connect to the desired {es} instance. Press the
  18. _Connect_ button. In case credentials are needed, a new windows - driver's DSN editor - will be launched and you'll need to provide the
  19. _Username_ and _Password_ in the respective fields. (Note that these will not be stored as part of the DSN, but only remembered for the
  20. duration of the session).
  21. If the connection is successful, the _Connection Attributes_ section of the connection window is populated with the respective details;
  22. press the _Sign In_ button next:
  23. [[apps_tableau_connd]]
  24. .Authenticate and sign in
  25. image:images/sql/odbc/apps_tableau_connd.png[]
  26. In Tableau Desktop's main window then choose the name of {es} instance as the _Database_, select one table that you'd like to load from
  27. the list (click on the magnifying glass icon to have them all shown), drag the table over the work area, then click the _Update Now_
  28. button to load a preview of the table:
  29. [[apps_tableau_loaded]]
  30. .Data loaded
  31. image:images/sql/odbc/apps_tableau_loaded.png[]
  32. // vim: set noet fenc=utf-8 ff=dos sts=0 sw=4 ts=4 tw=138 columns=140