# How to update logstash 8.9.1 to 8.12.2

**URL:** <https://discuss.elastic.co/t/how-to-update-logstash-8-9-1-to-8-12-2/355891>\
**Category:** Logstash\
**Created:** [March 21, 2024, 10:30am UTC](https://discuss.elastic.co/t/how-to-update-logstash-8-9-1-to-8-12-2/355891 "2024-03-21T10:30:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Mathan\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_mathan_s/32/132861_2.png) [@Michael\_Mathan\_S](https://discuss.elastic.co/u/Michael_Mathan_S)\
**Post date:** [March 21, 2024, 10:30am UTC](https://discuss.elastic.co/t/how-to-update-logstash-8-9-1-to-8-12-2/355891/1 "2024-03-21T10:30:55Z")

</div>

Here's the corrected text:

"Hi, this is Michael Mathan S. I'm trying to upgrade Logstash from version 8.9.1 to 8.12.2, but I'm encountering several errors. Could you please advise me on how to fix the following errors?

**Error 1:**

[2024-03-20T11:56:35,871][ERROR][logstash.outputs.elasticsearch][main] Failed to install template: Got response code '400' contacting Elasticsearch at URL The error message indicates: 'x\_content\_parse\_exception', with the reason being '[1:44] [index\_template] unknown field [settings]'.

**Error 2:**

[2024-03-21T15:10:04,942][ERROR][logstash.javapipeline][main] Pipeline error: NoMethodError: undefined method `serverless?' for

Attached are my logstash.config and LIMSIndices.json files for your reference.

**[LIMSIndices.json contents]**

 ![LIMSIndices](https://us1.discourse-cdn.com/elastic/original/3X/2/f/2f84d4e2138748fda4e8bcfec9e2fa2106d02bdb.jpeg)

Could you please review these and provide guidance? Thanks!"

---

<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:** [April 18, 2024, 10:31am UTC](https://discuss.elastic.co/t/how-to-update-logstash-8-9-1-to-8-12-2/355891/2 "2024-04-18T10:31:32Z")

</div>

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