title: Encountered a retryable error. Will Retry with exponential backoff 413
body: <p>Logstash keep encountering following error message that logs cannot be sent to AWS ElasticSearch.</p>
  <blockquote>
  <p>[2021-04-28T16:01:28,253][ERROR][logstash.outputs.amazonelasticsearch]
  Encountered a retryable error. Will Retry with exponential backoff
  {:code=&gt;413,
  :url=&gt;&quot;https://search-xxxx.ap-southeast-1.es.amazonaws.com:443/_bulk&quot;}</p>
  </blockquote>
  <p>That's why I always need to restart logstash and cannot configure why it causes that issue. Regarding Logstash documentation I reduce <code>pipeline.batch.size</code> size to 100 but it didn't help. Please let me know how to resolve that issue. Thanks.</p>
  <pre><code>pipeline.batch.size: 125
  pipeline.batch.delay: 50
  </code></pre>