![]() |
VOOZH | about |
Elasticsearch is a popular distributed full-text search engine. By centrally storing data, you can perform ultra-fast searches, fine-tuning relevance, and powerful analytics with ease. Elasticsearch has a pipeline tool for loading data called "Logstash". You can use CData JDBC Drivers to easily import data from any data source into Elasticsearch for search and analysis.
This article explains how to use the CData JDBC Driver for Excel Online to load data from Excel Online into Elasticsearch via Logstash.
Now, let's create a configuration file for Logstash to transfer Excel Online data to Elasticsearch.
You can connect to a workbook by providing authentication to Excel Online and then setting the following properties:
: Set this to the name or Id of the workbook.
If you want to view a list of information about the available workbooks, execute a query to the Workbooks view after you authenticate.
You use the OAuth authentication standard to authenticate to Excel Online. See the Getting Started section in the help documentation for a guide. Getting Started also guides you through executing SQL to worksheets and ranges.
Now let's run Logstash using the created "logstash.conf" file.
logstash-7.8.0\bin\logstash -f logstash.conf
A log indicating success will appear. This means the Excel Online data has been loaded into Elasticsearch.
For example, let's view the data transferred to Elasticsearch in Kibana.
GET excelonline_table/_search
{
"query": {
"match_all": {}
}
}
👁 Querying the Excel Online data loaded into ElasticsearchWe have confirmed that the data is stored in Elasticsearch.
👁 Confirming the Excel Online data loaded into ElasticsearchBy using the CData JDBC Driver for Excel Online with Logstash, it functions as a Excel Online connector, making it easy to load data into Elasticsearch. Please try the 30-day free trial.
Download a free trial of the Excel Online Driver to get started:
Download NowLearn more:
👁 Excel Online IconRapidly create and deploy powerful Java applications that integrate with live Excel Online Spreadsheet data!