![]() |
VOOZH | about |
The CData Excel Add-In for Elasticsearch provides formulas that can edit, save, and delete Elasticsearch data. The following three steps show how you can automate the following task: Search Elasticsearch data for a user-specified value and then organize the results into an Excel spreadsheet.
Accessing and integrating live data from Elasticsearch has never been easier with CData. Customers rely on CData connectivity to:
Users frequently integrate Elasticsearch data with analytics tools such as Crystal Reports, Power BI, and Excel, and leverage our tools to enable a single, federated access layer to all of their data sources, including Elasticsearch.
For more information on CData's Elasticsearch solutions, check out our Knowledge Base article: CData Elasticsearch Driver Features & Differentiators.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as ElasticsearchConnection1, or a connection string. The connection string consists of the required properties for connecting to Elasticsearch data, separated by semicolons.
Set the Server and Port connection properties to connect. To authenticate, set the User and Password properties, PKI (public key infrastructure) properties, or both. To use PKI, set the SSLClientCert, SSLClientCertType, SSLClientCertSubject, and SSLClientCertPassword properties.
The data provider uses X-Pack Security for TLS/SSL and authentication. To connect over TLS/SSL, prefix the Server value with 'https://'. Note: TLS/SSL and client authentication must be enabled on X-Pack to use PKI.
Once the data provider is connected, X-Pack will then perform user authentication and grant role permissions based on the realms you have configured.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM Orders WHERE ShipCity = '"&B5&"'","Server="&B1&";Port="&B2&";User="&B3&";Password="&B4&";Provider=Elasticsearch",B6)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Elasticsearch to get started:
Download NowLearn more:
👁 Elasticsearch IconThe Elasticsearch Excel Add-In is a powerful tool that allows you to connect with live Elasticsearch document databases, directly from Microsoft Excel.
Use Excel to access Elasticsearch. Perfect for mass exports, Excel-based data analysis, and more!