# Elastic APM agent services (APM server output configured to logstash) are not displayed in Kibana

**URL:** <https://discuss.elastic.co/t/elastic-apm-agent-services-apm-server-output-configured-to-logstash-are-not-displayed-in-kibana/165547>\
**Category:** APM\
**Tags:** elastic-stack-monitoring\
**Created:** [January 24, 2019, 7:58am UTC](https://discuss.elastic.co/t/elastic-apm-agent-services-apm-server-output-configured-to-logstash-are-not-displayed-in-kibana/165547 "2019-01-24T07:58:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdulsofts](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@abdulsofts](https://discuss.elastic.co/u/abdulsofts)\
**Post date:** [January 24, 2019, 7:58am UTC](https://discuss.elastic.co/t/elastic-apm-agent-services-apm-server-output-configured-to-logstash-are-not-displayed-in-kibana/165547/1 "2019-01-24T07:58:21Z")

</div>

Hi,

**Problem:**  
APM agent services not listed out in the Kibana APM services screen.

**Problem Description:**  
I have configured my elastic APM Java agent and found that agent is able to communicate with APM server successfully (with 202 status code). But the APM screen is not listing any services. Below is more information on the logs and apm-server output:

**APM Server logs:**  
"2019-01-24T13:16:02.669+0530 INFO [request] beater/common\_handlers.go:272 handled request {"request\_id": "10a6d20a-045b-458b-bf0b-827232c16d9b", "method": "POST", "URL": "/intake/v2/events", "content\_length": -1, "remote\_address": "\<apm\_agent\_ip\>", "user-agent": "java-agent/1.3.0", **"response\_code": 202}**"

**Note:** My APM server **output** is configured with the logstash (whose output is set to it's own elasticsearch service) running in a different node in the same cluster.

Please help me resolve this issue and to list out APM agent services in kibana.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 24, 2019, 8:37am UTC](https://discuss.elastic.co/t/elastic-apm-agent-services-apm-server-output-configured-to-logstash-are-not-displayed-in-kibana/165547/2 "2019-01-24T08:37:03Z")

</div>

What does your Logstash config look like?

---

<div class="post-metadata">

**Author:** ![abdulsofts](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@abdulsofts](https://discuss.elastic.co/u/abdulsofts)\
**Post date:** [January 24, 2019, 10:07am UTC](https://discuss.elastic.co/t/elastic-apm-agent-services-apm-server-output-configured-to-logstash-are-not-displayed-in-kibana/165547/3 "2019-01-24T10:07:48Z")

</div>

Hi,

Below is my logstash input and output configuration.

input {  
beats {  
host =\> "\<logstash\_host\_ip\>"  
port =\> 5046  
}  
}

output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
sniffing =\> true  
manage\_template =\> false  
index =\> "%{[@metadata][beat]}-%{+YYYY.MM.dd}"  
#document\_type =\> "%{[@metadata][type]}"  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![abdulsofts](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@abdulsofts](https://discuss.elastic.co/u/abdulsofts)\
**Post date:** [January 24, 2019, 11:32am UTC](https://discuss.elastic.co/t/elastic-apm-agent-services-apm-server-output-configured-to-logstash-are-not-displayed-in-kibana/165547/4 "2019-01-24T11:32:31Z")

</div>

Hi,

After struggling for few hours, I was able to figure out the root cause for this issue. My APM-server is configured to logstash instead of elasticsearch. Since I am forwarding output from logstash to elasticsearch, data is being sent to elasticsearch. So, I had to configure APM server output to Elasticsearch instead of Logstash.

---

<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 14, 2019, 7:32am UTC](https://discuss.elastic.co/t/elastic-apm-agent-services-apm-server-output-configured-to-logstash-are-not-displayed-in-kibana/165547/5 "2019-02-14T07:32:36Z")

</div>

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