# Apm server not detected

**URL:** <https://discuss.elastic.co/t/apm-server-not-detected/261508>\
**Category:** APM\
**Tags:** server, ui\
**Created:** [January 19, 2021, 8:18am UTC](https://discuss.elastic.co/t/apm-server-not-detected/261508 "2021-01-19T08:18:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![L0Gal](https://avatars.discourse-cdn.com/v4/letter/l/c37758/32.png) [@L0Gal](https://discuss.elastic.co/u/L0Gal)\
**Post date:** [January 19, 2021, 8:18am UTC](https://discuss.elastic.co/t/apm-server-not-detected/261508/1 "2021-01-19T08:18:56Z")

</div>

**Kibana version** : 7.10.1

**Elasticsearch version** : 7.10.1

**APM Server version** : 7.10.1

**Original install method and version** : Package manager on Ubuntu 20.04 Focal Fossa

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

Hi, i'm approaching the ELK stack and i'm trying to configure apm-server. I've installed (i think correctly) ELK and i could create/manage index and data. I have activated xpack basic licence to enable basic auth.  
I'm trying to install and configure apm server (on the same on-prem machine of the elk stack). This is my apm-server.yml configuration:

* * *

apm-server:  
host: "0.0.0.0:8200"

#kibana  
kibana.enabled: true  
kibana.host: "[http://0.0.0.0:5601](http://0.0.0.0:5601)"  
kibana.username: "elastic"  
kibana.password: "changeme"

#============ Outputs =======================

output.elasticsearch:  
hosts: ["0.0.0.0:9200"]  
enabled: true  
username: "elastic"  
password: "changeme"

* * *

Running 'systemctl start apm-server', the server seems start up correctly, but when i check from the kibana apm-server setup page i always get:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/8/483c36b32ef49868b90d7989c319a4963469e162.png)

apm-server test config: Config OK  
apm-server test output:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/4/746186707ddd2733a81159645e2f5301caf60510.png)  
I've tryied to set up a nodejs agent app to see if the server was running correctly on :8200, and seems yes cause it is managing requests:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/3/1382ec52af83e3f7299228b6c947ee7998099a07.png)

Is there something that i'm doing wrong?  
I've also see that apm-server was creating 'Legacy index templates' on start up.. is that correct?  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/c/7c70acd7bcebaed452f455e934c8eae3fddd869c.png)

**Steps to reproduce** :

1. Install the ELK stack 7.10.1 on Focal Fossa
2. Install and run apm-server with the above configuration

**Provide logs and/or server output (if relevant)**: No error in logs

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [January 19, 2021, 8:24am UTC](https://discuss.elastic.co/t/apm-server-not-detected/261508/2 "2021-01-19T08:24:03Z")

</div>

Did you setup any APM agent to send some data to APM server and see again

---

<div class="post-metadata">

**Author:** ![L0Gal](https://avatars.discourse-cdn.com/v4/letter/l/c37758/32.png) [@L0Gal](https://discuss.elastic.co/u/L0Gal)\
**Post date:** [January 19, 2021, 8:25am UTC](https://discuss.elastic.co/t/apm-server-not-detected/261508/3 "2021-01-19T08:25:41Z")

</div>

Yes, i've write it in the request: "I've tryied to set up a nodejs agent app to see if the server was running correctly on :8200, and seems yes cause it is managing requests:"

---

<div class="post-metadata">

**Author:** ![L0Gal](https://avatars.discourse-cdn.com/v4/letter/l/c37758/32.png) [@L0Gal](https://discuss.elastic.co/u/L0Gal)\
**Post date:** [January 19, 2021, 9:47am UTC](https://discuss.elastic.co/t/apm-server-not-detected/261508/4 "2021-01-19T09:47:43Z")

</div>

I've found the solution, it was my mistake. Everything was working fine but i was logged in kibana with an user that not have permissions to access apm -index. So this probably cause apm-server status check fail. Thank you all!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 9, 2021, 5:47am UTC](https://discuss.elastic.co/t/apm-server-not-detected/261508/5 "2021-02-09T05:47:46Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
