Hi I am trying to take back up of my AWS elasticsearch indices . and I configured IAM role and policy and using curl to take the back . All the indices are backed up in s3 bucket. But inside the indices folder in s3 bucket new folder is created with 0RZdYteiQLCbvGJacpC5IA name not the index name used in elastic search. I am not able find which index back up . How to take the back up with index name.
For ex : my aws elasticsearch index name :alb-accesslog-2018.11.28
folder inside the s3 bucket is like 0RZdYteiQLCbvGJacpC5IA
i am taking the snapshot for manual backup inside s3 ,but inside the s3 bucket i am not getting snapshot with indices name. its something other than indices number.
Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL and what is coming like Canvas...
_cat-indices we will get the UUID allocated for index . but s3 bucket name are different
index : alb-accesslog-2018.11.24
uuid : z6R3py0mQNWFC0y6_oIULw
in s3 bucket folder name is 4hIH1pCTQlG5rFkatJA7fg
I want to know how to relate s3 folder name with aws elastic search index name?
because I have 16 index in AWS elastic search and 16 folder are there inside the indices folder in s3 bucket. I want to know which index snapshot is stored in which folder in s3?
could please advice how to take back up of single index. I used the command like
curl -XPUT 'http://search-mb-production-app-ssssssss.us-west-2.es.amazonaws.com/_snapshot/my-snapshot-repo/alb-accesslog-2018.11.29'
-d'{
"indices": "alb-accesslog-2018.11.29",
"ignore_unavailable": true,
"include_global_state": false
}'
but got response like
{"accepted":true}./sample.sh: line 6: $'-d{\n "indices": "alb-accesslog-2018.11.29",\n "ignore_unavailable": true,\n "include_global_state": false\n }': command not found
and when i check the status all the indices are backed up
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.