Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to index Azure storage data to elastic cloud

I am new to elastic search. I have data stored in Azure storage and I want to index it using elasticsearch. I have created a cluster at https://cloud.elastic.co. Do I need to create a service which will index the data in elastic cloud and then users can use/search this data using elastic search? How to index the data to elastic cloud using asp.net MVC?

Please suggest.

like image 207
Asif Hameed Avatar asked Mar 09 '23 18:03

Asif Hameed


1 Answers

One way to approach this would be to write a console application that

  1. pulls data from Azure storage using the Storage client in the WindowsAzure.Storage nuget package or similar
  2. transforms data into documents according to your domain needs
  3. bulk indexes documents into Elasticsearch in Elastic Cloud using the .NET Elasticsearch client NEST

If data will be updated in Azure storage and will need to be frequently indexed into Elasticsearch, consider making the console application an Azure Web Job.

Another approach would be to use Logstash in conjunction with the input plugin for Azure Storage blobs.

like image 85
Russ Cam Avatar answered Mar 20 '23 00:03

Russ Cam