Spec-Zone.ru › Elasticsearch 8
›Elasticsearch Guide [8.17] ›SQL ›SQL Client Applications

Microsoft Excel

You can use the Elasticsearch ODBC driver to access Elasticsearch data from Microsoft Excel.

Elastic does not endorse, promote or provide support for this application; for native Elasticsearch integration in this product, please reach out to its vendor.

Prerequisites

  • Microsoft Office 2016 or higher
  • Elasticsearch SQL ODBC driver
  • A preconfigured User or System DSN (see Configuration section on how to configure a DSN).

Load data into a spreadsheet

First, you’ll need to choose ODBC as the source to load data from. To do so, click on the Data tab, then New Query button, in the drop-down menu expand From Other Sources, then choose From ODBC:

ODBC as data sourceapps excel fromodbc

This will open a new window with a drop down menu populated with the DSNs that Excel found on the system. Choose a DSN configured to connect to your Elasticsearch instance and press the OK button:

Choose a DSNapps excel dsn

This will lead to a new window, allowing the user to input the connection credentials.

A username might be required by Excel even if the Elasticsearch instance has no security enabled. Providing a bogus username with no password in this case will not hinder the connectivity. Note however that Excel will cache these credentials (so in case you do have security enabled, you won’t be prompted for the credentials a second time).

Fill in the username and the password and press Connect.

Provide connection credentialsapps excel cred

Once connected, Excel will read Elasticsearch’s catalog and offer the user a choice of tables (indices) to load data from. Clicking on one of the tables will load a preview of the data within:

Pick table to loadapps excel picktable

Now click the Load button, which will have Excel load all the data from the table into a spreadsheet:

Data loaded in spreadsheetapps excel loaded

© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/8.17/sql-client-apps-excel.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API