Browser version: Google Chrome is up to date Version 89.0.4389.90 (Official Build) (64-bit)
Original install method (e.g. download page, yum, deb, from source, etc.) and version: download page elasticsearch-7.11.1-linux-x86_64.tar.gz
Fresh install or upgraded from other versions? 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.
All Default
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
I installed ES, Kibana and APM Server on my local machine to set up APM. I've created a example spring boot App to test the Agent(java). Now when I go to Set Up Instructions on Kibana its able to check the status of APM server but for Agent status it says: No data has been received from agents yet
Steps to reproduce:
go to apm page in kibana
click on agent status
getting "No data has been received from agents yet"
1.) Do you have the properties file in the same directory as your agent.jar is?
2.) Are you sure the server is available on your localhost with the server url you specified?
3.) The logs from your app should show the start up process including the agent.. can you share them?
2021-03-22 14:07:14,492 [main] INFO co.elastic.apm.agent.util.JmxUtils - Found JVM-specific OperatingSystemMXBean interface: com.sun.management.OperatingSystemMXBean
2021-03-22 14:07:14,591 [main] INFO co.elastic.apm.agent.configuration.StartupInfo - Starting Elastic APM 1.21.0 as sample_apm on Java 1.8.0_271 Runtime version: 1.8.0_271-b09 VM version: 25.271-b09 (Oracle Corporation) Linux 3.10.0-1127.el7.x86_64
2021-03-22 14:07:14,592 [main] INFO co.elastic.apm.agent.configuration.StartupInfo - VM Arguments: [-javaagent:./elastic-apm-agent-1.21.0.jar, -Delastic.apm.secret_token=]
2021-03-22 14:07:17,686 [main] INFO co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to RUNNING state
2021-03-22 14:07:17,895 [elastic-apm-server-healthcheck] INFO co.elastic.apm.agent.report.ApmServerHealthChecker - Elastic APM server is available: { "build_date": "2021-03-06T04:41:35Z", "build_sha": "b706a93fac838d7ca44622d8d9686d2c3b3c8bde", "version": "7.11.2"}
This looks good so far. You Java agent is able to connect to the APM Server.
Now we need to check APM server -> Elasticsearch..
Do you see any error in the APM server log?
Also run GET /_cat/indices/apm-* against your Elasticsearch, pls. (This shows whether we already have some APM indices in Elasticsearch)
Did your application executed any request already? AFAIK there is no data until the first requests runs after startup.
Do you see any error in the APM server log?
Also run GET /_cat/indices/apm-* against your Elasticsearch, pls. (This shows whether we already have some APM indices in Elasticsearch)
===> I can see some apm-* indices have been created.
Did your application executed any request already? AFAIK there is no data until the first requests runs after startup.
===> Yes, the application executed any request already.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.