# APM agent setup issue

**URL:** <https://discuss.elastic.co/t/apm-agent-setup-issue/329975>\
**Category:** Elastic Observability\
**Created:** [April 14, 2023, 6:41am UTC](https://discuss.elastic.co/t/apm-agent-setup-issue/329975 "2023-04-14T06:41:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hairmemez](https://avatars.discourse-cdn.com/v4/letter/h/919ad9/32.png) [@hairmemez](https://discuss.elastic.co/u/hairmemez)\
**Post date:** [April 14, 2023, 6:41am UTC](https://discuss.elastic.co/t/apm-agent-setup-issue/329975/1 "2023-04-14T06:41:05Z")

</div>

Hi Team,  
I have successfully configured APM-server and Agent status says "Data successfully received from 1 or more agents" but when I launch APM there are no records.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/d/7db37fe0d0c5f3a2f633425aaceea384d56038fe.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/c/fc3dc46fceb5df9a5913604b2b5b37a4ad2bf874.png)  
I have tried running query in dev tools {screenshot of output attached}  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/3/b38cfc036bd696ce5aa96603598d465d0051f6d2.png)  
I even tried running below command in elasticsearch  
[kxdesu\_admin@mbiazelkdynatrace ~]$ curl [http://10.129.50.140:8200](http://10.129.50.140:8200)  
{  
"build\_date": "2020-06-14T17:10:16Z",  
"build\_sha": "06c58bf4e5b675d04314bf44961ffd6b0e13f544",  
"version": "7.8.0"  
}  
I am running below command to start the microservice "java -javaagent:/home/kxdesu\_admin/elastic-apm-agent-1.0.1.jar -Delastic.apm.config\_file=~/apm.properties -jar /home/e-servicing-apps/POC/configs/SR/SRManagement-0.0.1-SNAPSHOT.jar --spring.config.location=/home/e-servicing-apps/POC/configs/SR/application.yml" and my apm.properties file contain "  
server\_urls=[http://10.129.50.140:8200](http://10.129.50.140:8200)  
service\_name=SRManagement  
log\_level=DEBUG  
application\_packages=com.manipalcigna "  
can you please help me with this
