# Elasticsearch and OneAgent in "Infrastructure only" mode

**URL:** <https://community.dynatrace.com/t/elasticsearch-and-oneagent-in-infrastructure-only-mode/38048>\
**Category:** Open Q&A\
**Tags:** oneagent, elasticsearch, licensing\
**Created:** [January 18, 2023, 2:56pm UTC](https://community.dynatrace.com/t/elasticsearch-and-oneagent-in-infrastructure-only-mode/38048 "2023-01-18T14:56:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![l\_nalesso](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@l\_nalesso](https://community.dynatrace.com/u/l_nalesso)\
**Post date:** [January 18, 2023, 2:56pm UTC](https://community.dynatrace.com/t/elasticsearch-and-oneagent-in-infrastructure-only-mode/38048/1 "2023-01-18T14:56:20Z")

</div>

Hi all,  
Is it possible to enable Elasticsearch monitoring if OneAgent is in infrastructure-only mode?  
I’ve made same search in the doc and in the community but i have not found the answer (need new glasses? 🙂 ).

---

<div class="post-metadata">

**Author:** ![Romanenkov\_Al3x](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/romanenkov_al3x/32/36257_2.png) [@Romanenkov\_Al3x](https://community.dynatrace.com/u/Romanenkov_Al3x)\
**Post date:** [January 18, 2023, 3:38pm UTC](https://community.dynatrace.com/t/elasticsearch-and-oneagent-in-infrastructure-only-mode/38048/2 "2023-01-18T15:38:43Z")

</div>

Hello.

In general: **In infra mode you will miss JVM metrics and service level, but general process metrics and tecnology specific metrics (with extension)you can get with infa-only mode.**

Yes, it is possible, but you will miss instrumentation on EleasticSearch level.

If you have, for example, an instrumented Java application that calls ElasticSearch - you can see request count, failure rate, response time for OPAQUE service (not instrumented). Dynatrace can see when the code of your application executes a call to another service and when it came back.

You can see how it look in Dynatrace - with fully instrumented ElasticSearch on screenshots.

In my case, I call elastic with curl. So I can see this call and PurePath because ElasticSearch is instrumented - agent in Full-stack mode. I can see exception and e.t.c.

 ![Romanenkov_Al3x_1-1674055532775.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/4/5426fa4fcec61b6c7adcd5284b587fb50d01a936.png)

 ![Romanenkov_Al3x_2-1674055715599.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/b/7b0ec9fe4c8063660957e23b140aa7077e941457.png)

I wouldn’t be able to see these CURL PurePaths without instrumentation.

In infra only mode you can additionally setup extension to get ElasticSerach metrics:

 ![Romanenkov_Al3x_3-1674056173835.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/ea711c8f81371b36c0e08ca39b971bc72b8959b6.png)

JVM metrics tab will not be avaliable in infra only mode.

 ![Romanenkov_Al3x_0-1674055408845.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/bef165e4489f499ee59d2e00c3b13fbaee0916d5.png)

[Metrics](https://www.dynatrace.com/support/help/technology-support/dynatrace-extensions/supported-out-of-the-box/elasticsearch#supported-metrics).

I hope this helps, have a good day!

Romanenkov Alex

---

<div class="post-metadata">

**Author:** ![l\_nalesso](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@l\_nalesso](https://community.dynatrace.com/u/l_nalesso)\
**Post date:** [February 6, 2023, 3:45pm UTC](https://community.dynatrace.com/t/elasticsearch-and-oneagent-in-infrastructure-only-mode/38048/3 "2023-02-06T15:45:53Z")

</div>

Thank you for your informations.

We understand the limits and we have installed in infra mode. Everything is working ok and in this moment we only need this data.

---

<div class="post-metadata">

**Author:** ![Ana.Kuzmenchuk](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Ana.Kuzmenchuk](https://community.dynatrace.com/u/Ana.Kuzmenchuk)\
**Post date:** [February 6, 2023, 4:07pm UTC](https://community.dynatrace.com/t/elasticsearch-and-oneagent-in-infrastructure-only-mode/38048/4 "2023-02-06T16:07:45Z")

</div>

Hi [@l\_nalesso](https://community.dynatrace.com/user/2516)&nbsp;Thank you for letting us know!&nbsp;😊
