# Enabled JAVAAPM agent to my app in docker but i cant see it in kibana under apm services

**URL:** <https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560>\
**Category:** APM\
**Created:** [February 15, 2019, 10:09am UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560 "2019-02-15T10:09:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![shailesh\_thakur](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shailesh\_thakur](https://discuss.elastic.co/u/shailesh_thakur)\
**Post date:** [February 15, 2019, 10:09am UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560/1 "2019-02-15T10:09:09Z")

</div>

Hi  
I enabled APM AGENT to my apps in docker on agent side  
Elastic APM server is available: {"ok":{"build\_date":"2019-01-24T10:23:10Z","build\_sha":"7357ed8334b76d54c5b9a75f1e7c4cb7b308880e","version":"6.6.0"}}

but not able to see under apm services

and also side side i enabled on my another app in ec2 that is perfectly working fine

please help

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [February 15, 2019, 10:58am UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560/2 "2019-02-15T10:58:49Z")

</div>

Hi and thanks for using the Elastic APM Java agent 🙂

Could it be a similar issue as [How to use apm agent for hybris application?](https://discuss.elastic.co/t/how-to-use-apm-agent-for-hybris-application/164921)

If not, please the troubleshooting section and upload the agent logs: [https://www.elastic.co/guide/en/apm/agent/java/current/trouble-shooting.html](https://www.elastic.co/guide/en/apm/agent/java/current/trouble-shooting.html)

Thanks,  
Felix

---

<div class="post-metadata">

**Author:** ![shailesh\_thakur](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shailesh\_thakur](https://discuss.elastic.co/u/shailesh_thakur)\
**Post date:** [February 15, 2019, 11:25am UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560/3 "2019-02-15T11:25:24Z")

</div>

Elastic APM server is available: {"ok":{"build\_date":"2019-01-24T10:23:10Z","build\_sha":"7357ed8334b76d54c5b9a75f1e7c4cb7b308880e","version":"6.6.0"}}

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [February 15, 2019, 1:03pm UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560/4 "2019-02-15T13:03:28Z")

</div>

I need some more logs than that 😉

Before you edited your post, you there was a validation error? Do you still get that error?

Also, which application frameworks and which application server are you using?

Thanks,  
Felix

---

<div class="post-metadata">

**Author:** ![shailesh\_thakur](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shailesh\_thakur](https://discuss.elastic.co/u/shailesh_thakur)\
**Post date:** [February 15, 2019, 1:49pm UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560/5 "2019-02-15T13:49:56Z")

</div>

hey thanks for reply the validation error was for different application and that is done

Problem is that

My application doesnot throw any error i can see the logs in apm\* index for that particular service

but it dont see any services in APM services tab

and also in dashboard tab  
i could see those services but no transactions for and this is happening for applications in docker(k8)

And regarding logs i am not getting any logs as such related to this issue no agent as well as apm-server side

Thanks

---

<div class="post-metadata">

**Author:** ![shailesh\_thakur](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shailesh\_thakur](https://discuss.elastic.co/u/shailesh_thakur)\
**Post date:** [February 15, 2019, 1:53pm UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560/6 "2019-02-15T13:53:44Z")

</div>

![APM%20ERROR](https://us1.discourse-cdn.com/elastic/original/3X/b/8/b8047be7a3cafe50195dca9196958a3495c27de3.png)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 15, 2019, 6:09pm UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560/7 "2019-02-15T18:09:04Z")

</div>

In The APM Tab or the Dashboards?

Try setting `apm-*` to the default index pattern

Dashboards Check this?

> <https://github.com/elastic/kibana/issues/29378>

---

<div class="post-metadata">

**Author:** ![shailesh\_thakur](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shailesh\_thakur](https://discuss.elastic.co/u/shailesh_thakur)\
**Post date:** [February 18, 2019, 9:40am UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560/8 "2019-02-18T09:40:26Z")

</div>

HI

I also tried setting apm\* as default index and is it necessary to set up metricbeat for elasticapm?

i can see data in dasboards section but not in Services Section

---

<div class="post-metadata">

**Author:** ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)\
**Post date:** [February 18, 2019, 1:47pm UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560/9 "2019-02-18T13:47:25Z")

</div>

Hi Shailesh,

APM UI should display all services that send transactions or errors to Elasticsearch (via APM Server).

Can you see any documents in Discover if you filter by service name?

```auto
context.service.name : "my-service-name"

```

You can also try running the following query in Kibana Dev Tools. It will find all error and transaction documents, and aggregate them on the service name:

```auto
GET apm-*/_search
{
  "size": 0,
  "query": {
    "bool": {
      "filter": [
        {
          "terms": {
            "processor.event": [
              "transaction",
              "error"
            ]
          }
        }
      ]
    }
  },
  "aggs": {
    "services": {
      "terms": {
        "field": "context.service.name",
        "size": 500
      }
    }
  }
}

```

---

<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:** [March 11, 2019, 9:47am UTC](https://discuss.elastic.co/t/enabled-javaapm-agent-to-my-app-in-docker-but-i-cant-see-it-in-kibana-under-apm-services/168560/10 "2019-03-11T09:47:25Z")

</div>

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