# Logstash retry with exponential backoff

**URL:** <https://discuss.elastic.co/t/logstash-retry-with-exponential-backoff/106744>\
**Category:** Logstash\
**Created:** [November 7, 2017, 7:32pm UTC](https://discuss.elastic.co/t/logstash-retry-with-exponential-backoff/106744 "2017-11-07T19:32:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathurin68](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@mathurin68](https://discuss.elastic.co/u/mathurin68)\
**Post date:** [November 7, 2017, 7:32pm UTC](https://discuss.elastic.co/t/logstash-retry-with-exponential-backoff/106744/1 "2017-11-07T19:32:38Z")

</div>

OK I installed x-pack and finally got all the credentials in the correct places(including winlogbeats on WEC) but now getting new error in logstash logs -

[2017-11-07T14:29:34,577][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff {:code=\>403, :url=\>"[http://10.68.168.21:9200/\_bulk](http://10.68.168.21:9200/_bulk)"}  
[2017-11-07T14:29:34,650][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff {:code=\>403, :url=\>"[http://10.68.168.21:9200/\_bulk](http://10.68.168.21:9200/_bulk)"}

Hoping this is the last one!!!

---

<div class="post-metadata">

**Author:** ![mathurin68](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@mathurin68](https://discuss.elastic.co/u/mathurin68)\
**Post date:** [November 8, 2017, 1:45pm UTC](https://discuss.elastic.co/t/logstash-retry-with-exponential-backoff/106744/2 "2017-11-08T13:45:22Z")

</div>

Alright, got it - not correctly but got it. Just added elastic superuser to conf.d elasticsearchoutput -

output {  
elasticsearch {  
hosts =\> ["10.68.168.21:9200"]  
user =\> "elastic"  
password =\> "xxxxxxxx"  
sniffing =\> true  
manage\_template =\> true  
index =\> "%{[@metadata][beat]}-%{+YYYY.MM.dd}"  
document\_type =\> "%{[@metadata][type]}"  
}  
}

... good enough for testing though.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 6, 2017, 1:45pm UTC](https://discuss.elastic.co/t/logstash-retry-with-exponential-backoff/106744/3 "2017-12-06T13:45:43Z")

</div>

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