Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

ODBC: Updating Microsoft Excel connection documents #581

Merged
Next Next commit
export as csv
  • Loading branch information
Rupal Mahajan committed Jul 10, 2020
commit 5adae3704d08552ae3d0e93cf2c73f0619f364e6
5 changes: 5 additions & 0 deletions sql-odbc/docs/test/excel_connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ There are multiple ways to load data from Elasticsearch in Microsoft Excel.
* [ODBC as Data Source](odbc_data_source_connection.md)
* [Microsoft Query](microsoft_query_connection.md)
* [Query Wizard](query_wizard_connection.md)


## Use Microsoft Excel with data loaded from Open distro for Elasticsearch

* [Exporting CSV files](exporting_csv_files.md)
22 changes: 22 additions & 0 deletions sql-odbc/docs/test/exporting_csv_files.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Exporting CSV files in Microsoft Excel

* Load data from Open Distro For Elasticsearch by any using any [connection mode](excel_connection.md).

Here [ODBC](odbc_data_source_connection.md) connection with SQL statement `SELECT * FROM kibana_sample_data_flights LIMIT 50` in advanced options is used.

<img src="img/export_loaded_data.png">

* Click on **File** > **Save As**.
* Select Location to Save file.
* Type the file name into the **File name** field.
* Set **Save as type** as **CSV UTF-8(Comma delimited)(*.csv)**.

<img src="img/export_save_as_csv.png" width=450>

* Click **Save**.
* If you have multiple sheets in the workbook, you will get following message

<img src="img/export_multiple_sheets.png" width=500>

* Click on **OK**.
* Data should be exported to selected location in CSV format.
Binary file added sql-odbc/docs/test/img/export_loaded_data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sql-odbc/docs/test/img/export_multiple_sheets.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sql-odbc/docs/test/img/export_save_as_csv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.