# Log4j in Elasticsearch prerequisites in Azure DevOps environment

**URL:** <https://discuss.elastic.co/t/log4j-in-elasticsearch-prerequisites-in-azure-devops-environment/292158>\
**Category:** Elasticsearch\
**Created:** [December 16, 2021, 1:29pm UTC](https://discuss.elastic.co/t/log4j-in-elasticsearch-prerequisites-in-azure-devops-environment/292158 "2021-12-16T13:29:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RJ96](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@RJ96](https://discuss.elastic.co/u/RJ96)\
**Post date:** [December 16, 2021, 1:29pm UTC](https://discuss.elastic.co/t/log4j-in-elasticsearch-prerequisites-in-azure-devops-environment/292158/1 "2021-12-16T13:29:20Z")

</div>

Hello,

i am very new to the Elastic world, in fact i've started working with Elastic after the log4j security alert had happened so i am a beginner. i have a azure devops environment where i have Elasticsearch installed on the system as a prerequisites. The current elastic version is v6.2, the version of the Log4j running is 2.9.1. As i understand this version of the log4j contains the security vulnerability so i have deactivated the service in the environment to be safe.  
I would like to know how to update the elastic prerequisites or should i update the log4j file itself? Is it even possible to update the elastic prerequisites or do i have to unistall the old version and then install the new one? i have searched a lot but found nothing regarding elastic with azure and how to update it to the newest version, also not in the official announcement.  
I have also read [this](https://xeraa.net/blog/2021_mitigate-log4j2-log4shell-elasticsearch/)  
according to this if i have an old log4j version i should remove the _JndiLookup.class_ which is problematic, but would it simply be enough to just delete the class from the file?  
Any help would be appreciated, thanks.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 20, 2021, 12:17am UTC](https://discuss.elastic.co/t/log4j-in-elasticsearch-prerequisites-in-azure-devops-environment/292158/2 "2021-12-20T00:17:25Z")

</div>

You should really upgrade, 6.2 is very much [EOL](https://www.elastic.co/support/eol) and no longer supported.

---

<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 17, 2022, 12:18am UTC](https://discuss.elastic.co/t/log4j-in-elasticsearch-prerequisites-in-azure-devops-environment/292158/3 "2022-01-17T00:18:04Z")

</div>

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