重试logstash-output-elasticsearch的单个操作错误

时间:2017-03-02 04:43:24

标签: elasticsearch logstash

我正在使用 twitter-input 从twitter获取数据, ouput-Elasticsearch 将其存储在elasticsearch中 当我通过以下错误运行它时,我在Ubuntu OS中使用Logstash 5.2.1

[2017-03-02T08:18:45,576][ERROR][logstash.outputs.elasticsearch] Retrying individual actions
[2017-03-02T08:18:45,576][ERROR][logstash.outputs.elasticsearch] Action
[2017-03-02T08:18:50,796][INFO][logstash.outputs.elasticsearch] retrying failed action with response code: 503 ({"type"=>"unavailable_shards_exception", "reason"=>"[twitter_news][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest to [twitter_news] containing [1] requests]"})
[2017-03-02T08:18:50,796][ERROR][logstash.outputs.elasticsearch] Retrying individual actions
[2017-03-02T08:18:50,796][ERROR][logstash.outputs.elasticsearch] Action
[2017-03-02T08:18:55,840][INFO][logstash.outputs.elasticsearch] retrying failed action with response code: 503 ({"type"=>"unavailable_shards_exception", "reason"=>"[twitter_news][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest to [twitter_news] containing [1] requests]"})
[2017-03-02T08:18:55,840][ERROR][logstash.outputs.elasticsearch] Retrying individual actions
[2017-03-02T08:18:55,841][ERROR][logstash.outputs.elasticsearch] Action

1 个答案:

答案 0 :(得分:0)

这首先不是我们应该关心的任何事情。没有人知道他们为什么这么做的错误信息......

无论如何,他们fixed it现在是一个信息。