Kibana version: 7.8.0
Elasticsearch version: 7.8.0
APM Server version: 7.8.0
APM Agent language and version: .NET (1.6.0)
Browser version: Version 78.0.3904.97 (Official Build) (64-bit)
Original install method (e.g. download page, yum, deb, from source, etc.) and version: Elastic Search Website
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.
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 small Console App to test the Agent(.NET). 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
Provide logs and/or server output (if relevant):
APM Server Logs:
---------------------------
Further, in APM Server logs, I could see its able to receive some events from Agents
2020-07-14T09:21:59.964+0530 DEBUG [agentcfg] agentcfg/cache.go:58 Cache size 1. Added ID MyConsoleApp.
2020-07-14T09:21:59.972+0530 INFO [request] middleware/log_middleware.go:97 request ok {"request_id": "285e472e-
d17f-41e3-bddc-2a20a81ed306", "method": "GET", "URL": "/config/v1/agents?service.name=MyConsoleApp", "content_length": 0, "re
mote_address": "127.0.0.1", "user-agent": "elasticapm-dotnet/1.6.0 System.Net.Http/4.7.3062.0 .NET_Framework/4.7.3620.0", "re
sponse_code": 200}
http://localhost:8200/config/v1/agents?service.name=MyConsoleApp, this doesnot return anything and also if you see the Content_Length is 0 in APM Server logs.
Kibana Logs:
-----------------
{"type":"log","@timestamp":"2020-07-14T03:51:59Z","tags":["info","plugins","apm"],"pid":32128,"message":"Config was not found for MyConsoleApp/undefined"}
{"type":"response","@timestamp":"2020-07-14T03:51:59Z","tags":["access:apm"],"pid":32128,"method":"post","statusCode":404,"req":{"url":"/api/apm/settings/agent-configuration/search","method":"post","headers":{"host":"localhost:5601","user-agent":"Go-http-client/1.1","content-length":"45","accept":"application/json","content-type":"application/json","kbn-xsrf":"1","accept-encoding":"gzip"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1"},"res":{"statusCode":404,"responseTime":118,"contentLength":9},"message":"POST /api/apm/settings/agent-configuration/search 404 118ms - 9.0B"}
{"type":"response","@timestamp":"2020-07-14T03:53:11Z","tags":[],"pid":32128,"method":"post","statusCode":200,"req":{"url":"/api/ui_metric/report","method":"post","headers":{"host":"localhost:5601","connection":"keep-alive","content-length":"623","origin":"http://localhost:5601","kbn-version":"7.8.0","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36","content-type":"application/json","accept":"*/*","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","referer":"http://localhost:5601/app/kibana","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://localhost:5601/app/kibana"},"res":{"statusCode":200,"responseTime":41,"contentLength":9},"message":"POST /api/ui_metric/report 200 41ms - 9.0B"}
{"type":"response","@timestamp":"2020-07-14T03:53:22Z","tags":[],"pid":32128,"method":"post","statusCode":200,"req":{"url":"/api/ui_metric/report","method":"post","headers":{"host":"localhost:5601","connection":"keep-alive","content-length":"116","origin":"http://localhost:5601","kbn-version":"7.8.0","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36","content-type":"application/json","accept":"*/*","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","referer":"http://localhost:5601/app/kibana","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://localhost:5601/app/kibana"},"res":{"statusCode":200,"responseTime":37,"contentLength":9},"message":"POST /api/ui_metric/report 200 37ms - 9.0B"}
{"type":"log","@timestamp":"2020-07-14T03:53:31Z","tags":["error","plugins","taskManager","taskManager"],"pid":32128,"message":"Failed to poll for work: Error: Request Timeout after 30000ms"}