# APM Java Agent - service name issue

**URL:** <https://discuss.elastic.co/t/apm-java-agent-service-name-issue/160399>\
**Category:** APM\
**Created:** [December 11, 2018, 2:54pm UTC](https://discuss.elastic.co/t/apm-java-agent-service-name-issue/160399 "2018-12-11T14:54:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koushik\_Arvapally](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@Koushik\_Arvapally](https://discuss.elastic.co/u/Koushik_Arvapally)\
**Post date:** [December 11, 2018, 2:54pm UTC](https://discuss.elastic.co/t/apm-java-agent-service-name-issue/160399/1 "2018-12-11T14:54:59Z")

</div>

Hi ,

I have 3 jvm's (running same spring boot application), want to capture the metrics from all the 3 jvm's, configure APM agent's with same service name, from Kibana how can we differentiate from kibana UI

---

<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:** [December 11, 2018, 4:39pm UTC](https://discuss.elastic.co/t/apm-java-agent-service-name-issue/160399/2 "2018-12-11T16:39:12Z")

</div>

Hi and thanks for checking out Elastic APM.

You can use the query bar to filter for the metrics of a particular host or environment. Is that what you are looking for?

Cheers,  
Felix

---

<div class="post-metadata">

**Author:** ![Koushik\_Arvapally](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@Koushik\_Arvapally](https://discuss.elastic.co/u/Koushik_Arvapally)\
**Post date:** [December 12, 2018, 6:57am UTC](https://discuss.elastic.co/t/apm-java-agent-service-name-issue/160399/3 "2018-12-12T06:57:50Z")

</div>

Thank you for quick response,

I configured same service name for 3 servers(which runs same application), Metrics are coming to Kibana as single service name . How can we trace how many requests/errors are coming from which server and or is their any way to visualize ?

---

<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:** [January 2, 2019, 3:00am UTC](https://discuss.elastic.co/t/apm-java-agent-service-name-issue/160399/4 "2019-01-02T03:00:09Z")

</div>

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