# APM Server accepting events from RUM agent but not sending data to ES \[Elastic Cloud\]

**URL:** <https://discuss.elastic.co/t/apm-server-accepting-events-from-rum-agent-but-not-sending-data-to-es-elastic-cloud/190946>\
**Category:** APM\
**Created:** [July 17, 2019, 9:48am UTC](https://discuss.elastic.co/t/apm-server-accepting-events-from-rum-agent-but-not-sending-data-to-es-elastic-cloud/190946 "2019-07-17T09:48:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenneth123456](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@kenneth123456](https://discuss.elastic.co/u/kenneth123456)\
**Post date:** [July 17, 2019, 9:48am UTC](https://discuss.elastic.co/t/apm-server-accepting-events-from-rum-agent-but-not-sending-data-to-es-elastic-cloud/190946/1 "2019-07-17T09:48:13Z")

</div>

**Kibana version** :  
7.2.0  
**Elasticsearch version** :  
7.2.0  
**APM Server version** :  
7.2.0  
**APM Agent language and version** :  
Javascript APM-Rum 4.3.0  
**Browser version** :  
Google Chrome 75.0.3770.100  
**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:  
Elastic Cloud  
**Fresh install or upgraded from other version?**  
Fresh install  
**Is there anything special in your setup?** For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.  
APM Configuration changed on Elastic Cloud with:

apm-server.rum.enabled: true  
apm-server.rum.allow\_origins: '\*'

**Steps to reproduce** :

1. Create events in frontend
2. Inspect HTTP request to APM RUM endpoint
3. Responds with 202 Accepted
4. No data/index in ES created

**Provide logs and/or server output (if relevant)**:  
Can't get APM logs from Elastic Cloud

---

<div class="post-metadata">

**Author:** ![Christophe\_Verheyen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christophe_verheyen/32/50380_2.png) [@Christophe\_Verheyen](https://discuss.elastic.co/u/Christophe_Verheyen)\
**Post date:** [July 17, 2019, 1:38pm UTC](https://discuss.elastic.co/t/apm-server-accepting-events-from-rum-agent-but-not-sending-data-to-es-elastic-cloud/190946/2 "2019-07-17T13:38:04Z")

</div>

I have the same problem m8, I hope someone knows a solution

---

<div class="post-metadata">

**Author:** ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)\
**Post date:** [July 17, 2019, 5:26pm UTC](https://discuss.elastic.co/t/apm-server-accepting-events-from-rum-agent-but-not-sending-data-to-es-elastic-cloud/190946/3 "2019-07-17T17:26:53Z")

</div>

Do you mind opening an issue at [https://cloud.elastic.co/help](https://cloud.elastic.co/help)?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 18, 2019, 3:46am UTC](https://discuss.elastic.co/t/apm-server-accepting-events-from-rum-agent-but-not-sending-data-to-es-elastic-cloud/190946/4 "2019-07-18T03:46:31Z")

</div>

Hi Folks and thanks for trying Elastic APM

I just setup an Elasticsearch 7.2 Cluster in Elastic Cloud with APM. I did not alter any settings (which you should not have to because RUM is enabled by default in the Elastic Cloud APM server). Then I built and ran a React App and the RUM agent is reporting in fine.

I suspect you may not have loaded the Kibana Objects for APM.

You will need to navigate to the Kibana Home (top Left "K") the Add Data , APM and click on RUM (JS)

 ![03%20PM](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a03bd81f33a86ff0f7de3dbdace45a3168ebff58.png)

If you scroll to the bottom of that page there is a Load Kibana Objects and please click that. That loads the APM index pattern if you do not do that the data will not show up in the APM UI. (Note: technically the APM index pattern is used for all APM data)

 ![14%20PM](https://us1.discourse-cdn.com/elastic/original/3X/5/9/596aebfbc2472de847ebfabc0dd717c8decddd36.png)

Hopefully you should see the RUM Transactions now show up in the APM App like this. In my `case car-front-end` is the React App with RUM

 ![26%20PM](https://us1.discourse-cdn.com/elastic/original/3X/7/6/766f161cd6173ec969dac0940666e6a5c46cb3ef.png)

Also you can check by go to the Dev Tools and run

`GET _cat/indices`

And you should get something like this, those are the APM indices

```
green open apm-7.2.0-span-2019.07.18 ntiCFchSSHODIrZKXBk5Rw 1 0 423 0 190.2kb 190.2kb
green open apm-7.2.0-metric-2019.07.18 zzm0uC9ZTXmoT4R4gdwQVA 1 0 195 0 182.2kb 182.2kb
green open apm-7.2.0-onboarding-2019.07.18 H8WwT8JOQGa47kBiMrT3qQ 1 0 1 0 6.2kb 6.2kb
green open apm-7.2.0-transaction-2019.07.18 30W2BaaoQN2OmE-Kw5-7Mw 1 0 21 0 217.3kb 217.3kb
green open .kibana_task_manager jdCIInUvToeQ8SFSbTXjkQ 1 0 2 0 45.5kb 45.5kb
green open .kibana_1 w3TPTvPAQx6AS9JfoQddrg 1 0 6 0 51.1kb 51.1kb
green open .security-7 Xh4hSIIDShK07nfrekZE4Q 1 0 38 0 105.1kb 105.1kb

```

 ![18%20PM](https://us1.discourse-cdn.com/elastic/original/3X/5/f/5fe3fe279b71f79712f90d25cd24972c676241d9.png)

Let us know if that works!

---

<div class="post-metadata">

**Author:** ![kenneth123456](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@kenneth123456](https://discuss.elastic.co/u/kenneth123456)\
**Post date:** [July 18, 2019, 6:25am UTC](https://discuss.elastic.co/t/apm-server-accepting-events-from-rum-agent-but-not-sending-data-to-es-elastic-cloud/190946/5 "2019-07-18T06:25:37Z")

</div>

Hi @stephenb, I did add the APM objects, however the problem is that no APM indices are getting created at all. When I run a local APM that is connected to Elastic Cloud everything seems to work fine.

We also have a kubernetes-metricbeat reporting to Elastic which does seems to be able to create indices just fine.

I've tried to delete the whole APM node in Elastic Cloud to re-create it, but it only lets me terminate and restart the node, not delete it completely (maybe some setting went wrong)?

@simitt, I have created an issue on that url.

Thank you for your response.

---

<div class="post-metadata">

**Author:** ![kenneth123456](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@kenneth123456](https://discuss.elastic.co/u/kenneth123456)\
**Post date:** [July 18, 2019, 7:11am UTC](https://discuss.elastic.co/t/apm-server-accepting-events-from-rum-agent-but-not-sending-data-to-es-elastic-cloud/190946/6 "2019-07-18T07:11:52Z")

</div>

@stephenb @simitt We've re-created the deployment on Elastic Cloud since we weren't in a production ready state yet and everything seems to working fine now.

---

<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:** [August 8, 2019, 3:11am UTC](https://discuss.elastic.co/t/apm-server-accepting-events-from-rum-agent-but-not-sending-data-to-es-elastic-cloud/190946/7 "2019-08-08T03:11:56Z")

</div>

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