# Process Grouping: How to separate process

**URL:** <https://community.dynatrace.com/t/process-grouping-how-to-separate-process/35283>\
**Category:** Open Q&A\
**Tags:** process-groups\
**Created:** [May 26, 2022, 8:29am UTC](https://community.dynatrace.com/t/process-grouping-how-to-separate-process/35283 "2022-05-26T08:29:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JorgePozuelo](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@JorgePozuelo](https://community.dynatrace.com/u/JorgePozuelo)\
**Post date:** [May 26, 2022, 8:29am UTC](https://community.dynatrace.com/t/process-grouping-how-to-separate-process/35283/1 "2022-05-26T08:29:16Z")

</div>

Hello,

We are trying to separate process groups into several depending on Software AG install path property. We are really missing regex funcionallity on Advanced Detection Rules configuration.

Right now, we have a cluster with two nodes and four process flavours clusters. Dynatrace is detecting all of them as a single process group. Installation path are like this:

/apps/webMethods\*/wm/profiles/IS\_nobpm\_1\_1\_01/../..  
/apps/webMethods\*/wm/profiles/IS\_nobpm\_2\_1\_01/../..

/apps/webMethods\*/wm/profiles/IS\_nobpm\_1\_2\_01/../..  
/apps/webMethods\*/wm/profiles/IS\_nobpm\_2\_2\_01/../..

We need to separate it by having …/IS\_nobpm\_X\_1\_01/ instances grouped and …/IS\_nobpm\_X\_2\_01 on a different process grouping. So, in:

/apps/webMethods\*/wm/profiles/IS\_nobpm\_X\_Y\_01/../..

X represents differents clusters and Y represents different nodes of the cluster.

We are climbing a wall wile getting the correct config.

Thanks

---

<div class="post-metadata">

**Author:** ![richard\_guerra](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/richard_guerra/32/9592_2.png) [@richard\_guerra](https://community.dynatrace.com/u/richard_guerra)\
**Post date:** [May 26, 2022, 10:22am UTC](https://community.dynatrace.com/t/process-grouping-how-to-separate-process/35283/2 "2022-05-26T10:22:57Z")

</div>

If there is no other value in the process metadata that correlates to the version difference, you might have to add another java variable to your configs to be used by the Dynatrace process group detection (if you are able to do this).

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [May 26, 2022, 10:38am UTC](https://community.dynatrace.com/t/process-grouping-how-to-separate-process/35283/3 "2022-05-26T10:38:43Z")

</div>

Hello,

You can the ENV Variables:

DT\_Cluster\_ID

DT\_Node\_ID

The documentation is explicit to do it.

Have a good day.

---

<div class="post-metadata">

**Author:** ![mgome](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@mgome](https://community.dynatrace.com/u/mgome)\
**Post date:** [May 26, 2022, 10:57pm UTC](https://community.dynatrace.com/t/process-grouping-how-to-separate-process/35283/4 "2022-05-26T22:57:13Z")

</div>

The key is to find the correct property that has the installation path like “Java JAR path”, “Command line args”, or maybe “EXE path”. Then you can set “Delimit from” to /profiles/ and “Delimit to” to / ? &nbsp;Uncheck the “Ignore numbers” option.

Another option is to copy the command line args into Vim, do a string replace of the space character with a carriage return, %s/ /\r/g, and see if anything in the command line args can be used to identify instances.

---

<div class="post-metadata">

**Author:** ![JorgePozuelo](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@JorgePozuelo](https://community.dynatrace.com/u/JorgePozuelo)\
**Post date:** [May 27, 2022, 7:01am UTC](https://community.dynatrace.com/t/process-grouping-how-to-separate-process/35283/5 "2022-05-27T07:01:05Z")

</div>

Thanks&nbsp;[@mgome](https://community.dynatrace.com/user/8132)&nbsp;,

Installation path is an available option while configuring a new Advanced rule. Main problem is that we don’t get a configuration, by using ‘Delimit from/to’ options to ignore the first number, but not the rest:

/apps/webMethods\*/wm/profiles/IS\_nobpm\_X\_Y\_01/../..

Where X represents differents clusters and Y represents different nodes of the cluster.

Regards

---

<div class="post-metadata">

**Author:** ![techean](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/techean/32/227_2.png) [@techean](https://community.dynatrace.com/u/techean)\
**Post date:** [May 27, 2022, 7:01am UTC](https://community.dynatrace.com/t/process-grouping-how-to-separate-process/35283/6 "2022-05-27T07:01:34Z")

</div>

[Process Group Separation.](https://www.dynatrace.com/support/help/how-to-use-dynatrace/process-groups/configuration/adapt-the-composition-of-default-process-groups/)

You can use the Environment Variables (set for the process)&nbsp; **DT\_CLUSTER\_ID** &nbsp;and&nbsp; **DT\_NODE\_ID,**
