# OneAgent application separation

**URL:** <https://community.dynatrace.com/t/oneagent-application-separation/41028>\
**Category:** Open Q&A\
**Tags:** management-zones, user-management, tagging, oneagent\
**Created:** [August 3, 2023, 7:50pm UTC](https://community.dynatrace.com/t/oneagent-application-separation/41028 "2023-08-03T19:50:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric\_holloway](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/eric_holloway/32/20120_2.png) [@eric\_holloway](https://community.dynatrace.com/u/eric_holloway)\
**Post date:** [August 3, 2023, 7:50pm UTC](https://community.dynatrace.com/t/oneagent-application-separation/41028/1 "2023-08-03T19:50:54Z")

</div>

We are currently migrating to DT from another APM solution.&nbsp; In an effort to make standards we have tried to come up with the following mandatory values during OneAgent install:

- Host Group = Department
- Tag Key = Application
  - Value = $AppID-$Application  
(ex: Application: 85648-SearchHelper)

- Tag Key = Env
  - Value = Dev/Mod/Cap/Prod/etc.  
(ex: Env: Cap)

We have a few applications that have several JVM’s (belonging to different applications) running on one host.&nbsp; Is there a way to tag these separately to help these teams find their applications faster?&nbsp; We plan to separate Management Zone’s by Host Group (and also control RBAC that way for power users).

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [August 3, 2023, 9:58pm UTC](https://community.dynatrace.com/t/oneagent-application-separation/41028/2 "2023-08-03T21:58:03Z")

</div>

Hi,

You can define [your own process group metadata](https://www.dynatrace.com/support/help/shortlink/process-group-properties#variables) on process level.

Best regards

---

<div class="post-metadata">

**Author:** ![Romanenkov\_Al3x](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/romanenkov_al3x/32/36257_2.png) [@Romanenkov\_Al3x](https://community.dynatrace.com/u/Romanenkov_Al3x)\
**Post date:** [August 7, 2023, 6:54am UTC](https://community.dynatrace.com/t/oneagent-application-separation/41028/3 "2023-08-07T06:54:12Z")

</div>

Hello.

If you want take a look on process group detection:

> **[Process group detection](https://docs.dynatrace.com/docs/observe/infrastructure-observability/process-groups/configuration/pg-detection)**
>
> Ways to customize process-group detection

You can create rules for process group “splitting” or “merging”.

Also take a look on DT\_CLUSTER\_ID environment variable. It works amazing for many Customers.

 ![Romanenkov_Al3x_3-1691391439978.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/04fafdf915ef87e7ef14c8387f94c64e3626a84a.png)

Regards,

Alex Romanenkov
