如何读取 S3 中的 ElasticSearch 快照文件?

How to read ElasticSearch Snapshot file in S3?

我正在将 ElasticSearch 快照从 ElasticSearch 实时服务器拍摄到 s3 并在另一个 Elasticsearch 中创建它的副本以供分析,而不是加载回 Elasticsearch 如何直接从 S3 读取数据?

您将根据 Elasticsearch API 创建的快照仅应用于恢复到其他 Elasticsearch 集群。

从物理上讲,这些文件只是具有某种特定格式的二进制文件,除了按预期使用它们之外,这使得它们难以阅读和分析。

我遇到了类似的问题,我最终使用输出插件将数据从 logstash 发送到 s3。

https://www.elastic.co/guide/en/logstash/current/plugins-outputs-s3.html

希望对您有所帮助。