# APM server integration with opensearch

**URL:** <https://discuss.elastic.co/t/apm-server-integration-with-opensearch/287304>\
**Category:** APM\
**Tags:** server\
**Created:** [October 21, 2021, 10:24am UTC](https://discuss.elastic.co/t/apm-server-integration-with-opensearch/287304 "2021-10-21T10:24:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ma123456](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@ma123456](https://discuss.elastic.co/u/ma123456)\
**Post date:** [October 21, 2021, 10:24am UTC](https://discuss.elastic.co/t/apm-server-integration-with-opensearch/287304/1 "2021-10-21T10:24:18Z")

</div>

I want to configure my APM server to send the data to my opensearch instance.  
Instead of username and password I have aws\_access\_key\_id and aws\_secret\_access\_key, however in the APM config I only see the option to provide username/password:

```auto
    output.elasticsearch:
      hosts: [my.opensearch.domain]
      username: username
      password: password

```

Also I could not find any docs or articles that explain how to configure this integration.

Can you please help me?  
Tanks.

---

<div class="post-metadata">

**Author:** ![riferrei](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/riferrei/32/104867_2.png) [@riferrei](https://discuss.elastic.co/u/riferrei)\
**Post date:** [October 21, 2021, 2:46pm UTC](https://discuss.elastic.co/t/apm-server-integration-with-opensearch/287304/2 "2021-10-21T14:46:10Z")

</div>

I'm afraid OpenSearch is not in the list of compatible outputs for the Elastic APM Server, as you can see here: [Configure the output | APM Server Reference [7.15] | Elastic](https://www.elastic.co/guide/en/apm/server/current/configuring-output.html)

— @riferrei

---

<div class="post-metadata">

**Author:** ![ma123456](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@ma123456](https://discuss.elastic.co/u/ma123456)\
**Post date:** [October 25, 2021, 8:00am UTC](https://discuss.elastic.co/t/apm-server-integration-with-opensearch/287304/3 "2021-10-25T08:00:01Z")

</div>

ok, thanks!

I also created an aws Elasticsearch cluster, and it doesn't work as well..  
all my requests hit timeout.

```auto
output.elasticsearch:
      hosts: [my.elasticserach.domain]
      username: username
      password: password
      protocol: https

```

Is this the correct config to use?

---

<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:** [October 25, 2021, 8:22am UTC](https://discuss.elastic.co/t/apm-server-integration-with-opensearch/287304/4 "2021-10-25T08:22:23Z")

</div>

We do not support any of the aws distributions as they are not Elasticsearch.

You will either need to upgrade to proper Elasticsearch, or use Elastic Cloud on AWS - [AWS Marketplace: Elastic Cloud (Elasticsearch managed service)](https://aws.amazon.com/marketplace/pp/prodview-voru33wi6xs7k)

---

<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:** [November 15, 2021, 4:23am UTC](https://discuss.elastic.co/t/apm-server-integration-with-opensearch/287304/5 "2021-11-15T04:23:02Z")

</div>

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