# Elastic APM incomplete data collection

**URL:** <https://discuss.elastic.co/t/elastic-apm-incomplete-data-collection/358212>\
**Category:** APM\
**Tags:** rum\
**Created:** [April 25, 2024, 12:38pm UTC](https://discuss.elastic.co/t/elastic-apm-incomplete-data-collection/358212 "2024-04-25T12:38:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suresh\_Ghatuwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suresh_ghatuwa/32/99976_2.png) [@Suresh\_Ghatuwa](https://discuss.elastic.co/u/Suresh_Ghatuwa)\
**Post date:** [April 25, 2024, 12:38pm UTC](https://discuss.elastic.co/t/elastic-apm-incomplete-data-collection/358212/1 "2024-04-25T12:38:55Z")

</div>

We have setup Single APM Server for collecting events from **js-agent** and **java agent**. But, we faced some issues after deployment of APM Server and agent.

APM Server Configuration:  
Version: 7.16.2  
**apm-server.auth.anonymous.rate\_limit.event\_limit:** 15000  
**apm-server.auth.anonymous.rate\_limit.ip\_limit:** 2000  
**output.elasticsearch.bulk\_max\_size:** 1000  
**queue.mem.events:** 150000  
**Instance JVM:** 4GB  
**Instance vCPU:** 2

ES Configuration:  
**master node:** 1  
**data node:** 2

**Kibana version** : 7.16.2

**Elasticsearch version** : 7.16.2

**APM Server version** : 7.16.2

**APM Agent language and version** : js agent

**Browser version** : Chrome and Firefox

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: rpm

**Fresh install or upgraded from other version?** : Fresh install

Expectation:

- All the page-load events must be stored in Elasticsearch.

Issue:

- Found some events were not available in Elasticsearch

Could you please provide your valuable support and insight?

---

<div class="post-metadata">

**Author:** ![Alberto\_Delgado](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alberto_delgado/32/98488_2.png) [@Alberto\_Delgado](https://discuss.elastic.co/u/Alberto_Delgado)\
**Post date:** [May 2, 2024, 10:38am UTC](https://discuss.elastic.co/t/elastic-apm-incomplete-data-collection/358212/2 "2024-05-02T10:38:19Z")

</div>

Hi @Suresh_Ghatuwa,

Thanks for reaching out!

Could you confirm the RUM agent is sending the events to the APM server?

Prerequisite (because of step 4): [Troubleshooting | APM Real User Monitoring JavaScript Agent Reference [5.x] | Elastic](https://www.elastic.co/guide/en/apm/agent/rum-js/current/troubleshooting.html#disable-events-payload-compression)

1. Open the browser dev tools
2. Check the network tab
3. Look for "events/".
4. You should see the associated requests and the payload (where you can see the transaction.type page-load).

Thanks,  
Alberto

---

<div class="post-metadata">

**Author:** ![Suresh\_Ghatuwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suresh_ghatuwa/32/99976_2.png) [@Suresh\_Ghatuwa](https://discuss.elastic.co/u/Suresh_Ghatuwa)\
**Post date:** [July 4, 2024, 4:55am UTC](https://discuss.elastic.co/t/elastic-apm-incomplete-data-collection/358212/3 "2024-07-04T04:55:47Z")

</div>

Yes RUM is sending data to APM Server. But when checking from kibana, we didnot found data passed from js agent or java agent.

And this is random behaviour, some page, it is fine but for most of the pages, data not stored in ES.

We also enabled logs in APM Server and found not modified message. Does this means data will not be stored in ES?
