elasticsearch - 如何将 Azure 存储数据索引到弹性云

标签 elasticsearch azure-blob-storage nest azure-table-storage

我是 Elasticsearch 的新手。我有数据存储在 Azure 存储中,我想使用 elasticsearch 对其进行索引。我在 https://cloud.elastic.co 创建了一个集群.我是否需要创建一个服务来索引弹性云中的数据,然后用户可以使用 Elasticsearch 使用/搜索这些数据?如何使用 asp.net MVC 将数据索引到弹性云?

请推荐。

最佳答案

解决这个问题的一种方法是编写一个控制台应用程序

  1. 使用 WindowsAzure.Storage 中的存储客户端从 Azure 存储中提取数据nuget包或类似的
  2. 根据您的领域需求将数据转换为文档
  3. 使用 .NET Elasticsearch client NEST 将文档批量索引到 Elastic Cloud 中的 Elasticsearch 中

如果数据将在 Azure 存储中更新并且需要经常索引到 Elasticsearch 中,请考虑将控制台应用程序设为 Azure Web Job .

另一种方法是使用 Logstash结合input plugin for Azure Storage blobs .

关于elasticsearch - 如何将 Azure 存储数据索引到弹性云,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44765478/

相关文章:

elasticsearch - 通过Logstash在大型数据集上加载Elasticsearch运行非常缓慢

azure - Blob 存储中的空图像

azure - 从 Azure 存储 1.7 升级到 2.0 时遇到问题

elasticsearch - Nest Elasticsearch-在某些字段的前面搜索,在其他字段的后面搜索

c# - ElasticSearch/NEST:确定是否已经存在映射

c# - Elasticsearch Nest查询可在将字段与提供的值进行比较时修剪空白

python - 将Elasticsearch查询结果划分成大块?

elasticsearch - Elasticsearch中的存储桶大小过滤器

elasticsearch - Kibana 中的自定义 X 轴

azure - TFS - Azure 文件复制任务