# Is APM required for Elasticsearch 8.19.8?

**URL:** <https://discuss.elastic.co/t/is-apm-required-for-elasticsearch-8-19-8/385522>\
**Category:** Elasticsearch\
**Created:** [March 19, 2026, 10:05am UTC](https://discuss.elastic.co/t/is-apm-required-for-elasticsearch-8-19-8/385522 "2026-03-19T10:05:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![winter\_crescents](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/winter_crescents/32/146971_2.png) [@winter\_crescents](https://discuss.elastic.co/u/winter_crescents)\
**Post date:** [March 19, 2026, 10:05am UTC](https://discuss.elastic.co/t/is-apm-required-for-elasticsearch-8-19-8/385522/1 "2026-03-19T10:05:22Z")

</div>

I am trying to reduce the number of modules to the minimum number required. However, I find that when apm module is being removed, I get an error that says `“ERROR: Expected to find [apm] module”` and this got me confused, as I am not able to find what exactly is having a dependency on apm.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [March 19, 2026, 4:14pm UTC](https://discuss.elastic.co/t/is-apm-required-for-elasticsearch-8-19-8/385522/2 "2026-03-19T16:14:41Z")

</div>

By “reduce the number of modules” do you mean you’re deleting stuff (e.g. `.jar` files) from the Elasticsearch installation? If so, that’s not expected to work, I’m surprised you can delete any of them. They are all required.

---

<div class="post-metadata">

**Author:** ![winter\_crescents](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/winter_crescents/32/146971_2.png) [@winter\_crescents](https://discuss.elastic.co/u/winter_crescents)\
**Post date:** [March 20, 2026, 2:11am UTC](https://discuss.elastic.co/t/is-apm-required-for-elasticsearch-8-19-8/385522/3 "2026-03-20T02:11:12Z")

</div>

Nope, we did not remove jar files. So the elasticsearch that we have is an adapted version of the official version on Elasticsearch website. What we did is that in modules, we only selected the ones that we require for our use case, which in our case would be x-pack-core, x-pack-security, transport-netty4, reindex. It previously worked for our 7.17.8 version. And in the newer version I get an error message that [apm] is also a required module. Which made me curious if it’s necessary for version 8.19.8.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [March 20, 2026, 9:59am UTC](https://discuss.elastic.co/t/is-apm-required-for-elasticsearch-8-19-8/385522/4 "2026-03-20T09:59:36Z")

</div>

> [@winter\_crescents](#):
>
> an adapted version of the official version on Elasticsearch website

Adapted how exactly?

> [@winter\_crescents](#):
>
> we only selected the ones that we require

What do you mean by “selected” exactly?
