I'm trying to do a backup of my logs using the builtin system.
Here is the command i run :
curl -XPUT
"localhost:9200/_snapshot/backup/180714-5?wait_for_completion=true" -d '{
"partial": "true"
}'
It seems that i can get 113 successful shards backed up but 7 are still
failing and i can't get to know why ..
Here is the ouput:
{
- "snapshot":{
- "snapshot":"180714-5",
- "indices":[
- "kibana-int",
- "logstash-2014.07.08",
- "logstash-2014.07.17",
- "logstash-2014.07.01",
- "logstash-2014.07.02",
- "logstash-2014.07.14",
- "logstash-2014.06.30",
- "logstash-2014.07.03",
- "logstash-2014.07.10",
- "logstash-2014.06.27",
- "logstash-2014.07.11",
- "logstash-2014.07.15",
- "logstash-2014.06.29",
- "logstash-2014.07.12",
- "logstash-2014.07.04",
- "logstash-2014.07.16",
- "test",
- "logstash-2014.07.05",
- "logstash-2014.06.28",
- "logstash-2014.07.06",
- "logstash-2014.07.07",
- "logstash-2014.07.09",
- "logstash-2014.07.18",
- "logstash-2014.07.13"
],
- "state":"SUCCESS",
- "start_time":"2014-07-18T12:39:56.976Z",
- "start_time_in_millis":1405687196976,
- "end_time":"2014-07-18T12:40:42.767Z",
- "end_time_in_millis":1405687242767,
- "duration_in_millis":45791,
- "failures":[
- {
- "index":"logstash-2014.07.07",
- "reason":"primary shard is not allocated",
- "shard_id":0,
- "status":"INTERNAL_SERVER_ERROR"
},
- {
- "index":"logstash-2014.07.07",
- "reason":"primary shard is not allocated",
- "shard_id":3,
- "status":"INTERNAL_SERVER_ERROR"
},
- {
- "index":"logstash-2014.07.07",
- "reason":"primary shard is not allocated",
- "shard_id":4,
- "status":"INTERNAL_SERVER_ERROR"
},
- {
- "index":"logstash-2014.07.07",
- "reason":"primary shard is not allocated",
- "shard_id":1,
- "status":"INTERNAL_SERVER_ERROR"
},
- {
- "index":"logstash-2014.07.07",
- "reason":"primary shard is not allocated",
- "shard_id":2,
- "status":"INTERNAL_SERVER_ERROR"
},
- {
- "index":"logstash-2014.07.06",
- "reason":"primary shard is not allocated",
- "shard_id":0,
- "status":"INTERNAL_SERVER_ERROR"
},
- {
- "node_id":"wiNRYfprQXms4s_Y8pBLPw",
- "index":"logstash-2014.07.06",
- "reason":"IndexShardMissingException[[logstash-2014.07.06][4]
missing]", - "shard_id":4,
- "status":"INTERNAL_SERVER_ERROR"
}
],
- {
- "shards":{
- "total":120,
- "failed":7,
- "successful":113
}
}
}
I was wondering why that particular day, i then went to see my kibana
monitor ..
It seems that i have no log for this day ..
Back then i remember that this day, i had an issue with logstash, the
service was down for the whole day ... i don't think it is a coincidence it
is ?
Is there is way to avoid this kind of failure ?
thanks for you time and answers.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/156acf88-01b6-4fd5-96ba-744d4ae02185%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.