Dileep Devang
Dileep Devang

Reputation: 43

How to read ElasticSearch Snapshot file in S3?

I am taking ElasticSearch snapshot from ElasticSearch live server to s3 and creating a replica of this in another Elasticsearch for analysis, instead of loading back to Elasticsearch how can I read data directly from S3?

Upvotes: 2

Views: 1883

Answers (2)

Eric Semwenda
Eric Semwenda

Reputation: 441

I had a similar issue, I ended up sending data from logstash to s3 using the output plugin.

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

Hope this helps.

Upvotes: 0

Mysterion
Mysterion

Reputation: 9320

Snapshots that you will create with according Elasticsearch API are only should be used for restoring to other Elasticsearch clusters.

Physically those files are just binary files with some specific format, which makes them hard to read and analyse apart from using them as intended.

Upvotes: 2

Related Questions