![]() |
VOOZH | about |
This article will explain how to use CData Connect AI to present Elasticsearch data as OData services and then consume the data in Microsoft Excel's Power Pivot business intelligence tool. Follow the steps below to retrieve and edit Elasticsearch data in Power Pivot.
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.
To work with Elasticsearch data from Power Pivot, we need to connect to Elasticsearch from Connect AI, provide user access to the connection, and create a Workspace for the Elasticsearch data.
CData Connect AI uses a straightforward, point-and-click interface to connect to data sources.
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.
π Configuring a connection (Salesforce is shown)When connecting to Connect AI through the REST API, the OData API, or the Virtual SQL Server, a Personal Access Token (PAT) is used to authenticate the connection to Connect AI. It is best practice to create a separate PAT for each service to maintain granularity of access.
After connecting to Elasticsearch, create a workspace for your desired table(s).
With the connection, PAT, and Workspace configured, you are ready to connect to Elasticsearch data from Power Pivot.
Follow the steps below to import tables that can be refreshed on demand:
Select the tables that you would like to import into Excel
π Selecting tables (Salesforce is shown.)
After selecting your table(s) and clicking Load, you should see the data appear in an Excel spreadsheet
π Loading tables (Salesforce is shown.)
Now, click the Power Pivot tab on the ribbon, and then select Add to Data Model.
π Loading data into Power Pivot (Salesforce is shown.)
This can now work with your Elasticsearch data in Power Pivot.
If you are interested in connecting to your Elasticsearch data (or data from any of our other supported data sources) from Power Pivot, sign up for a free trial of CData Connect AI today! For more information on Connect AI and to see what other data sources we support, refer to our CData Connect AI page.
Learn more about CData Connect AI or sign up for free trial access:
Free Trial