VOOZH about

URL: https://www.cdata.com/kb/tech/elasticsearch-cloud-zoho-analytics.rst

⇱ Build Elasticsearch-Connected Dashboards Using Zoho Analytics


Build Elasticsearch-Connected Dashboards Using Zoho Analytics

πŸ‘ Dibyendu Datta
Dibyendu Datta
Lead Technology Evangelist
Use CData Connect AI to connect to Elasticsearch Data from Zoho Analytics and import live Elasticsearch data.

Zoho Analytics is a modern BI and Analytics platform that allows you to connect and analyze your data, while also creating visualizations and dashboards to discover hidden insights. When paired with CData Connect AI, Zoho Analytics provides instant, cloud-to-cloud access to Elasticsearch data for reporting and analytics. This article demonstrates how to connect to Elasticsearch using Connect AI and analyze Elasticsearch data by creating dashboards in Zoho Analytics.

CData Connect AI provides a pure cloud-to-cloud interface for Elasticsearch, allowing you to analyze Elasticsearch data in Zoho Analytics β€” without replicating the data to a natively supported database. Using optimized data processing out of the box, CData Connect AI pushes all supported SQL operations (filters, JOINs, etc.) directly to Elasticsearch, leveraging server-side processing to return the requested Elasticsearch data quickly.

About Elasticsearch Data Integration

Accessing and integrating live data from Elasticsearch has never been easier with CData. Customers rely on CData connectivity to:

  • Access both the SQL endpoints and REST endpoints, optimizing connectivity and offering more options when it comes to reading and writing Elasticsearch data.
  • Connect to virtually every Elasticsearch instance starting with v2.2 and Open Source Elasticsearch subscriptions.
  • Always receive a relevance score for the query results without explicitly requiring the SCORE() function, simplifying access from 3rd party tools and easily seeing how the query results rank in text relevance.
  • Search through multiple indices, relying on Elasticsearch to manage and process the query and results instead of the client machine.

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.


Getting Started


Configure Elasticsearch Connectivity for Zoho Analytics

Connectivity to Elasticsearch from Zoho Analytics is made possible through CData Connect AI. To work with Elasticsearch data from Zoho Analytics, we start by creating and configuring a Elasticsearch connection.

  1. Log into Connect AI, click Sources, and then click Add Connection
  2. πŸ‘ Adding a Connection
  3. Select "Elasticsearch" from the Add Connection panel
  4. πŸ‘ Selecting a data source
  5. Enter the necessary authentication properties to connect to Elasticsearch.

    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)
  6. Click Save & Test
  7. Navigate to the Permissions tab in the Add Elasticsearch Connection page and update the User-based permissions. πŸ‘ Updating permissions

Add a Personal Access Token

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.

  1. Click on the Gear icon () at the top right of the Connect AI app to open the settings page.
  2. On the Settings page, go to the Access Tokens section and click Create PAT.
  3. Give the PAT a name and click Create. πŸ‘ Creating a new PAT
  4. The personal access token is only visible at creation, so be sure to copy it and store it securely for future use.

With the connection configured and a PAT generated, you are ready to connect to Elasticsearch data from Zoho Analytics.

Connect to Elasticsearch in Zoho Analytics Using CData Connect AI

To establish a connection from Zoho Analytics to CData Connect AI, follow these steps:

  1. Log in to Zoho Analytics.
  2. πŸ‘ Logging into Zoho Analytics
  3. Create a new connection and select Cloud Databases to open the connection modal.
  4. πŸ‘ Creating a new connection
  5. Enter the following information:
    • Database Type - select MS SQL Server.
    • Endpoint - enter tds.cdata.com
    • SQL Server Instance Name - leave this blank.
    • Port - enter 14333
    • Username - enter your CData Connect AI username. This is displayed in the top-right corner of the CData Connect AI interface. For example, [email protected].
    • Password - enter the PAT you generated.
    • Database Name - enter the Connection Name of the CData Connect AI data source you want to connect to (for example, Elasticsearch1).
    • Click Next.
    • πŸ‘ Displaying configuration settings
  6. Choose the table that you would like to import from, e.g. Orders.
  7. πŸ‘ Choosing table to import
  8. A Data Preview of the table should pop up. Next, enter a Workspace Name and Table Name to be able to refer to in Zoho Analytics. Click Next.
  9. πŸ‘ Displaying data preview
  10. There is an option to schedule the import periodically. After configuring, click Create.
  11. πŸ‘ Scheduling the import
  12. Now, the import has been initiated. Click OK.
  13. πŸ‘ Initiating the import
  14. View your new connection in the Zoho Analytics Explorer.
  15. πŸ‘ Viewing new connection
  16. Click on the new connection to see the table.
  17. πŸ‘ Viewing the table
  18. Zoho Analytics can auto-generate dashboards for the user, as seen here:
  19. πŸ‘ Auto-generating a dashboard

We have successfully imported Elasticsearch data into Zoho Analytics and created dashboards.

Get CData Connect AI

To get live data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!