# APM Server monitoring visualizations in Kibana

**URL:** <https://discuss.elastic.co/t/apm-server-monitoring-visualizations-in-kibana/196549>\
**Category:** APM\
**Tags:** server\
**Created:** [August 23, 2019, 2:51pm UTC](https://discuss.elastic.co/t/apm-server-monitoring-visualizations-in-kibana/196549 "2019-08-23T14:51:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlessandroKP](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alessandrokp/32/45312_2.png) [@AlessandroKP](https://discuss.elastic.co/u/AlessandroKP)\
**Post date:** [August 23, 2019, 2:51pm UTC](https://discuss.elastic.co/t/apm-server-monitoring-visualizations-in-kibana/196549/1 "2019-08-23T14:51:15Z")

</div>

Hi all,

I have a question regarding APM and the Stack Monitoring feature of Kibana.

I have an ES cluster with different components attached to it: beats, a Kibana instance, a Logstash instance with many pipelines and an APM server.  
The output of the APM server is not sent to ES directly, but it is handled by a Logstash pipeline which applies some filters and then outputs the results to the ES cluster.  
When I go to the Kibana section "Stack Monitoring", there is a record for my ES cluster.  
When I click on it I can see the informations about all the ES nodes, the Kibana instances, the beats that are sending their output to ES, the Logstash nodes with all their pipelines, but the APM server is not present.  
In fact, in the Stack Monitoring page I get this message: "It looks like you have instances that aren't connected to an Elasticsearch cluster".  
In the table below, in addition to the ES cluster, there is an other record for a cluster named "Standalone cluster" which is exactly the APM server (see screenshot below).

 ![screenshot_1](https://us1.discourse-cdn.com/elastic/original/3X/d/a/dad4690d9dc221008b64acb3bf1e24089d161087.png)

When I click on "Standalone cluster" I get an overview of the APM server and the nodes forming the APM cluster (see screenshot below).

 ![screenshot_2](https://us1.discourse-cdn.com/elastic/original/3X/f/2/f2e43898c70ead697a5a7ad905bfa597cfe64a6e.png)

Now, I would like these informations to be included in the ES cluster overview, as if the APM server was actually a component directly connected to the ES cluster (like Kibana, Logstash and the beats).  
This is the case if the APM server output is sent directly to ES, but not if the output is taken by Logstash.

So the question is:  
is there a way (maybe, by changing some configuration setting related to the APM server monitoring) to make the APM server appear as a component of the ES cluster in the Stack Monitoring panel of Kibana, even if the output of the APM is handled by Logstash, and not as a standalone cluster?

---

<div class="post-metadata">

**Author:** ![Igor\_Zaytsev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_zaytsev/32/50662_2.png) [@Igor\_Zaytsev](https://discuss.elastic.co/u/Igor_Zaytsev)\
**Post date:** [August 23, 2019, 8:14pm UTC](https://discuss.elastic.co/t/apm-server-monitoring-visualizations-in-kibana/196549/2 "2019-08-23T20:14:26Z")

</div>

Hey @AlessandroKP,

You still need to enable monitoring for that cluster: [Use internal collection to send monitoring data | APM User Guide [master] | Elastic](https://www.elastic.co/guide/en/apm/server/master/monitoring-internal-collection.html) take a look at #2

> If you configured a different output, such as Logstash or you want to send APM Server monitoring events to a separate Elasticsearch cluster

---

<div class="post-metadata">

**Author:** ![AlessandroKP](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alessandrokp/32/45312_2.png) [@AlessandroKP](https://discuss.elastic.co/u/AlessandroKP)\
**Post date:** [August 26, 2019, 12:35pm UTC](https://discuss.elastic.co/t/apm-server-monitoring-visualizations-in-kibana/196549/3 "2019-08-26T12:35:18Z")

</div>

Hi Igor,

I had already enabled monitoring by following the steps in [https://www.elastic.co/guide/en/apm/server/master/monitoring-internal-collection.html](https://www.elastic.co/guide/en/apm/server/master/monitoring-internal-collection.html),  
as you suggested. However, this did not solve my issue.

This is what I have in the configuration file for the apm server:

```
apm-server:
  host: "localhost:8200"

output.logstash:
  enabled: true
  hosts: ["localhost:5052"]

monitoring:
  enabled: true
  elasticsearch:
    hosts: ["localhost:9200"]
    username: apm_system
    password: apm_system

```

As I wrote in the previous post, with this configuration the APM server is not shown as being part of the main Elastic cluster in the Monitoring UI,  
but as a standalone cluster.

---

<div class="post-metadata">

**Author:** ![Igor\_Zaytsev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_zaytsev/32/50662_2.png) [@Igor\_Zaytsev](https://discuss.elastic.co/u/Igor_Zaytsev)\
**Post date:** [August 29, 2019, 7:45pm UTC](https://discuss.elastic.co/t/apm-server-monitoring-visualizations-in-kibana/196549/4 "2019-08-29T19:45:20Z")

</div>

Hey @AlessandroKP

Currently there is no way to figure out cluster\_uuid if the output is anything other than elasticsearch. If there is no cluster\_uuid we mark it as standalone.

We are currently trying to improve this design here: [https://github.com/elastic/beats/pull/13251](https://github.com/elastic/beats/pull/13251) Feel free to leave any suggestions/feedback

---

<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:** [September 19, 2019, 3:45pm UTC](https://discuss.elastic.co/t/apm-server-monitoring-visualizations-in-kibana/196549/5 "2019-09-19T15:45:21Z")

</div>

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