# OneAgent Merge Services of different process group

**URL:** <https://community.dynatrace.com/t/oneagent-merge-services-of-different-process-group/19841>\
**Category:** Open Q&A\
**Tags:** services-classic, oneagent\
**Created:** [March 1, 2019, 12:22pm UTC](https://community.dynatrace.com/t/oneagent-merge-services-of-different-process-group/19841 "2019-03-01T12:22:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jalpeshs](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jalpeshs](https://community.dynatrace.com/u/jalpeshs)\
**Post date:** [March 1, 2019, 12:22pm UTC](https://community.dynatrace.com/t/oneagent-merge-services-of-different-process-group/19841/1 "2019-03-01T12:22:32Z")

</div>

Hi Team,

Need help to merge Services in OneAgent.

We have 2 hosts having 5 instances of same Application process on each host .

So we have total **10 instances** of **same Application**.

But OneAgent **Auto-detected** all these **Processes** in **Different process group**.

We have **Same Service Name** in all instances .

As per documentation to **Merge Service** we **need same process group** but we have different process group.

Please find below snapshot for details

 ![19904-process-group.jpeg](https://global.discourse-cdn.com/dynatrace/original/2X/c/c1924801de28880f9496f56574e9848430f19e51.jpeg)

Please suggest

Thanks & Regards,

Jalpesh Shelar

---

<div class="post-metadata">

**Author:** ![sia\_h](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@sia\_h](https://community.dynatrace.com/u/sia_h)\
**Post date:** [March 1, 2019, 3:53pm UTC](https://community.dynatrace.com/t/oneagent-merge-services-of-different-process-group/19841/2 "2019-03-01T15:53:56Z")

</div>

Hi Jalpesh,

You can set a [process group detection rule](https://www.dynatrace.com/support/help/how-to-use-dynatrace/process-groups/configuration/adapt-the-composition-of-default-process-groups/) to group all processes into one process group. If you have a property that is equal among all processes, and Dynatrace can use it to composite new process groups, it would form one process group and enable you to merge the services.

Sia

---

<div class="post-metadata">

**Author:** ![jalpeshs](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jalpeshs](https://community.dynatrace.com/u/jalpeshs)\
**Post date:** [March 4, 2019, 7:13am UTC](https://community.dynatrace.com/t/oneagent-merge-services-of-different-process-group/19841/3 "2019-03-04T07:13:40Z")

</div>

Hi Sia,

Thanks for reply.

With **Process Group Detection Rule** we can group all processes into one process group.

But in **same environment** we have other **Auto-detected process groups properly**.(only concerns with WebSphere process)

So this custom [process group detection rule](https://www.dynatrace.com/support/help/how-to-use-dynatrace/process-groups/configuration/adapt-the-composition-of-default-process-groups/?_ga=2.158330878.536062481.1551680495-252827304.1544768503) will affect on previously Auto-detected process group ??

Thanks & Regards,

Jalpesh

---

<div class="post-metadata">

**Author:** ![sia\_h](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@sia\_h](https://community.dynatrace.com/u/sia_h)\
**Post date:** [March 4, 2019, 9:15am UTC](https://community.dynatrace.com/t/oneagent-merge-services-of-different-process-group/19841/4 "2019-03-04T09:15:50Z")

</div>

Hi Jalpesh,

It is possible to only apply this process group detection rule to WebSphere processes. It is also possible to use other properties that are equal among all the WebSphere processes and use them in the detection rule.Then if you restart the WebSphere processes it should be re-composited based on the detection rule you set.

 ![19918-websphere-process-group-detection.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/b/8bf40bdc14430cb4508b971072b1a95d138b112e.png)

Sia

---

<div class="post-metadata">

**Author:** ![MAkimov](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Post date:** [May 6, 2020, 8:26am UTC](https://community.dynatrace.com/t/oneagent-merge-services-of-different-process-group/19841/5 "2020-05-06T08:26:01Z")

</div>

Hello [@Jalpesh S.](https://answers.dynatrace.com/users/21636/view.html)

did you find a way to group the websphere process correctly?

we have a similar situation - we see several identical services on different WAS processes

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 6, 2020, 1:02pm UTC](https://community.dynatrace.com/t/oneagent-merge-services-of-different-process-group/19841/6 "2020-05-06T13:02:04Z")

</div>

This can be done by going into Settings\>Processes and containers\>Process group detection:

 ![24943-1588770066042.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/7/c7a2768abca7d4e61063ec6837dec9aea7854f84.png)

Let me know if you need any assistance

---

<div class="post-metadata">

**Author:** ![MAkimov](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Post date:** [May 6, 2020, 1:12pm UTC](https://community.dynatrace.com/t/oneagent-merge-services-of-different-process-group/19841/7 "2020-05-06T13:12:17Z")

</div>

Thanks, where it is - it’s understandable. The question is what common identifier to use for WAS.

Tell me which one did you use?

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 6, 2020, 1:19pm UTC](https://community.dynatrace.com/t/oneagent-merge-services-of-different-process-group/19841/8 "2020-05-06T13:19:47Z")

</div>

I would use a process property, then expand each Process’s properties and find the commonality between them. Like Command line args, EXE name, and so on

 ![24972-1588771229958.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/f/4fa135c3af2bcb7752db02df7b205377a7be353b.png)
