Logstash-output-elasticsearch error retry Individual action

I am using twitter-input to fetch data from twitter and ouput-elasticsearch to store it in elasticsearch
and I am using logstash 5.2.1 in Ubuntu OS when I run it through the following error

> [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

Please provide the entire error and your config.

Here is the entire error, please take a look

> [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

It looks like your ES cluster isn't in very good health.

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