How to rescan existing objects metadata into New-Elastic?

Rebuild New-Elastic when elastic crash, How to rescan existing objects metadata into New-Elastic?

Any ideas?

Hi All, We have found a way to touch objects as below.

The test scenario is ELK server crash or index not complete, and we can use the method for rescanning all object metadata per-bucket.

  1. ELK no any index

  2. Rescan bucket objects
    # aws s3 cp --metadata {"touched":"true"} s3://gstest02/ s3://gstest02/ --recursive --profile Taiwan-GS --endpoint-url https://172.23.60.172:8082 --ca-bundle /root/ca.pem

  3. The index back [Finish]

share for all~

Thanks for sharing your solution.
Not sure exactly what it is though and basically what is running on https://172.23.60.172:8082/.

The IP "172.23.60.172" is S3 compatible storage (note. It is NetApp StorageGRID )

So I don't see how all this is connected to elasticsearch.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.