# How to confirm if my apm-server is collecting the data from apm agent

**URL:** <https://discuss.elastic.co/t/how-to-confirm-if-my-apm-server-is-collecting-the-data-from-apm-agent/190558>\
**Category:** APM\
**Tags:** java, server\
**Created:** [July 15, 2019, 2:12pm UTC](https://discuss.elastic.co/t/how-to-confirm-if-my-apm-server-is-collecting-the-data-from-apm-agent/190558 "2019-07-15T14:12:05Z")\
**Posts on this page:** 1\
**Showing post:** 10

<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 19, 2019, 1:19pm UTC](https://discuss.elastic.co/t/how-to-confirm-if-my-apm-server-is-collecting-the-data-from-apm-agent/190558/10 "2019-07-19T13:19:13Z")

</div>

Hi can you post two more things can you restart the APM server and post the first 50 lines or so from the APM server looks like it is having trouble connecting to elasticsearch ... Also can you post the output.elasticsearch section of the apm-server.yml. Thanks

Please make sure you are using a supported technology

> **[Supported technologies | APM Java Agent Reference \[1.x\] | Elastic](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html)**

And also are you properly configuring JBoss

> **[Manual setup with -javaagent flag | APM Java Agent Reference \[1.x\] | Elastic](https://www.elastic.co/guide/en/apm/agent/java/current/setup-javaagent.html#setup-jboss-wildfly)**

Also can you please take a look at this

> [@APM agent showing timeout Error (Connection Refused)](https://discuss.elastic.co/t/apm-agent-showing-timeout-error-connection-refused/171768):
>
> Kibana version: 6.6.0 Elasticsearch version: 6.6.0 APM Server version: 6.6.0 APM Agent language and version: Browser version: N/A Original install method: Java using the agent jar Fresh install or upgraded from other version? Fresh install Is there anything special in your setup? No special setup as far as I am aware, just followed the guide on setting up the APM agent. I am using the APM server in the cloud option, and have the obtained the server URL and secret token from there. De…

---

_[View the full topic](https://discuss.elastic.co/t/how-to-confirm-if-my-apm-server-is-collecting-the-data-from-apm-agent/190558)._
