Hi
After we setup AWS S3 Bucket and enable Elastic Cloud S3 Repository by follow your instruction . I did a snapshot for index metricbeat-2019 and send it to AWS S3. then disable logstash to send metrics to index metricbeat-2019. remove the current index metricbeat-2019 on elastic cloud. and did index restoration from our AWS S3. but the elastic cluster became unhealthy.
Some details may be could help for elastic cloud team
the snapshot we made on AWS S3:
GET /_snapshot/es-cloud-infra-s3/snapshot_1
{
"snapshots" : [
{
"snapshot" : "snapshot_1",
"uuid" : "QjSwSoDXRvqhB02cwGPC0w",
"version_id" : 6070099,
"version" : "6.7.0",
"indices" : [
"metricbeat-2019"
],
"include_global_state" : false,
"state" : "SUCCESS",
"start_time" : "2019-04-26T10:44:12.485Z",
"start_time_in_millis" : 1556275452485,
"end_time" : "2019-04-26T10:44:20.585Z",
"end_time_in_millis" : 1556275460585,
"duration_in_millis" : 8100,
"failures" : [ ],
"shards" : {
"total" : 5,
"failed" : 0,
"successful" : 5
}
}
]
what I have checked after the cluster became unhealthy.
GET _cluster/health?level=shardes
{
"cluster_name" : "dae10a741b4d4bb98065af29468fbb93",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 3,
"number_of_data_nodes" : 1,
"active_primary_shards" : 21,
"active_shards" : 21,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 5,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 80.76923076923077
}
GET _cluster/health?level=indices
{
"metricbeat-2019" : {
"status" : "red",
"number_of_shards" : 5,
"number_of_replicas" : 0,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 5
},
}
Finally, I did a cluster restart want to bring it back, but with no luck.