# Logstash 5.6.1 inifinite loop? Encountered a retryable error

**URL:** <https://discuss.elastic.co/t/logstash-5-6-1-inifinite-loop-encountered-a-retryable-error/101753>\
**Category:** Logstash\
**Created:** [September 25, 2017, 7:51pm UTC](https://discuss.elastic.co/t/logstash-5-6-1-inifinite-loop-encountered-a-retryable-error/101753 "2017-09-25T19:51:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Hush077](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hush077/32/22500_2.png) [@Hush077](https://discuss.elastic.co/u/Hush077)\
**Post date:** [September 25, 2017, 8:10pm UTC](https://discuss.elastic.co/t/logstash-5-6-1-inifinite-loop-encountered-a-retryable-error/101753/3 "2017-09-25T20:10:28Z")

</div>

All components were 5.2.0.

I've removed all configs from logstash except our filebeat input and the elasticsearch output to remove any variables.

```
input {
  beats {
    port => 5044
  }
}

  output {
      elasticsearch {
        hosts => ["http://es-data-int.ex.com:9200"]
        index => "logstash-%{environment}-%{product}-%{role}-%{+YYYY.MM.dd}"
        document_type => "%{[@metadata][type]}"
      }
}

```

I also removed the %{variables} from the index name to see if that maybe causing the issue and the same prevailed.

We are in AWS using Amazon Linux for all servers. The ES data nodes are behind an ALB listening on port 9200.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-5-6-1-inifinite-loop-encountered-a-retryable-error/101753)._
