# How do you add different services to APM Service Groups?

**URL:** <https://discuss.elastic.co/t/how-do-you-add-different-services-to-apm-service-groups/330005>\
**Category:** APM\
**Tags:** ui\
**Created:** [April 14, 2023, 11:19am UTC](https://discuss.elastic.co/t/how-do-you-add-different-services-to-apm-service-groups/330005 "2023-04-14T11:19:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zx8086](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zx8086/32/94917_2.png) [@zx8086](https://discuss.elastic.co/u/zx8086)\
**Post date:** [April 14, 2023, 11:19am UTC](https://discuss.elastic.co/t/how-do-you-add-different-services-to-apm-service-groups/330005/1 "2023-04-14T11:19:11Z")

</div>

How do you add different services to APM Service Groups when they dont have matching terms in the naming convention for the query ?

Bit pointless when you cant select the services and that they all need to be the result of a query? or am I missing something ?

 ![Screenshot 2023-04-14 at 13.12.10](https://us1.discourse-cdn.com/elastic/original/3X/1/1/1183b991365a0be8043aa3bb63f3d3c2fa8d032a.jpeg)

---

<div class="post-metadata">

**Author:** ![dgieselaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dgieselaar/32/46947_2.png) [@dgieselaar](https://discuss.elastic.co/u/dgieselaar)\
**Post date:** [April 14, 2023, 11:52am UTC](https://discuss.elastic.co/t/how-do-you-add-different-services-to-apm-service-groups/330005/2 "2023-04-14T11:52:57Z")

</div>

Hey @zx8086, you can use a KQL string to match multiple services, e.g. `service.name:(service-a OR service-b OR service-c)`. Does that work for you?

---

<div class="post-metadata">

**Author:** ![zx8086](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zx8086/32/94917_2.png) [@zx8086](https://discuss.elastic.co/u/zx8086)\
**Post date:** [April 14, 2023, 11:59am UTC](https://discuss.elastic.co/t/how-do-you-add-different-services-to-apm-service-groups/330005/3 "2023-04-14T11:59:10Z")

</div>

> [@dgieselaar](#):
>
> service.name:(service-a OR service-b OR service-c

That works, but from a UI perspective a simple click and select would have been better. Especially for additions and deletions. The query editing will be complex with more and more services.

---

<div class="post-metadata">

**Author:** ![dgieselaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dgieselaar/32/46947_2.png) [@dgieselaar](https://discuss.elastic.co/u/dgieselaar)\
**Post date:** [April 14, 2023, 2:56pm UTC](https://discuss.elastic.co/t/how-do-you-add-different-services-to-apm-service-groups/330005/4 "2023-04-14T14:56:35Z")

</div>

I get what you mean. I'll take that feedback to the team, perhaps there's something we can do here.

---

<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:** [May 5, 2023, 10:56am UTC](https://discuss.elastic.co/t/how-do-you-add-different-services-to-apm-service-groups/330005/5 "2023-05-05T10:56:44Z")

</div>

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