# How to split services that used to be separate services but merged?

**URL:** <https://community.dynatrace.com/t/how-to-split-services-that-used-to-be-separate-services-but-merged/39887>\
**Category:** Container platforms\
**Tags:** openshift, services-classic\
**Created:** [May 24, 2023, 7:29am UTC](https://community.dynatrace.com/t/how-to-split-services-that-used-to-be-separate-services-but-merged/39887 "2023-05-24T07:29:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thitiphans](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@thitiphans](https://community.dynatrace.com/u/thitiphans)\
**Post date:** [May 24, 2023, 7:29am UTC](https://community.dynatrace.com/t/how-to-split-services-that-used-to-be-separate-services-but-merged/39887/1 "2023-05-24T07:29:06Z")

</div>

Hi currently we have issue about the services got merged and want to find out why and split it.

We have our service on different cluster (we will call it cluster A and cluster B)  
It used to detect the service as Service\_A and Service\_B. and We monitor it seperately.

After we redeploy oneagent it detect as same service. Service\_A but run on both cluster A and B.

We expect the result to be detect as 2 services( Service\_A runs on cluster A, Service\_B runs on cluster B)

is there anyone had faced the same issue before??

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [May 24, 2023, 9:48am UTC](https://community.dynatrace.com/t/how-to-split-services-that-used-to-be-separate-services-but-merged/39887/2 "2023-05-24T09:48:00Z")

</div>

Hi&nbsp;[@thitiphans](https://community.dynatrace.com/user/50925)

I had the opposite issue. Once after one agent update. Application clusters legs were restarted becasue of patch management in different time (24 hours later). My original merged services splitted to two different services. I did not know the reason why. So I had to use the service detection rules. I used it to merge them again, maybe you can use it to separate it based on hostnames, if you would like to analyse them separetly by cluster legs.

 ![Mizs_0-1684921614437.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/2a49ff3a5887f1d69fb117defc49ce4d4d6dbd28.png)

I hope it helps.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [May 24, 2023, 7:50pm UTC](https://community.dynatrace.com/t/how-to-split-services-that-used-to-be-separate-services-but-merged/39887/3 "2023-05-24T19:50:15Z")

</div>

[@thitiphans](https://community.dynatrace.com/user/50925)&nbsp;conditions must have changed in your case. Any chance the process group merged into a single one in your case? Services from different process groups are always monitored separately, so I guess if the service properties are the same, your process group have merged.
