# Updating Logstash from an older version

**URL:** <https://discuss.elastic.co/t/updating-logstash-from-an-older-version/292245>\
**Category:** Logstash\
**Created:** [December 17, 2021, 1:56am UTC](https://discuss.elastic.co/t/updating-logstash-from-an-older-version/292245 "2021-12-17T01:56:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![b3owu1f](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b3owu1f/32/60363_2.png) [@b3owu1f](https://discuss.elastic.co/u/b3owu1f)\
**Post date:** [December 17, 2021, 1:56am UTC](https://discuss.elastic.co/t/updating-logstash-from-an-older-version/292245/1 "2021-12-17T01:56:52Z")

</div>

Greetings

I have an unsupported operational Logstash I was required to update due to the Log4j2 vulnerability. The service was implemented long ago without documentation by crew already out of the company. Looking around the files I see the service is version 2.4.0 from August 2016.

Could anyone give me a direction on how to upgrade it to latest recommended versions 6.8.21 or 7.16.1? Is it even possible to upgrade from such an old version or would have to start again from scratch with the new version?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [December 17, 2021, 2:43am UTC](https://discuss.elastic.co/t/updating-logstash-from-an-older-version/292245/2 "2021-12-17T02:43:44Z")

</div>

> [@b3owu1f](#):
>
> Is it even possible to upgrade from such an old version or would have to start again from scratch with the new version?

It is not impossible that you could drop in the new version and have everything just work. It is also possible that you drop in a new version and spend many hours finding out how to adjust the configuration to deal with breaking changes introduced in the last five years. (And Elastic are certainly not afraid of breaking changes when they think them necessary.) It will very much depend on what your configuration looks like.

I suggest you try it and see what happens.

---

<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:** [January 14, 2022, 2:44am UTC](https://discuss.elastic.co/t/updating-logstash-from-an-older-version/292245/3 "2022-01-14T02:44:27Z")

</div>

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