# Is possible to split services automatically detect by Dynatrace?

**URL:** <https://community.dynatrace.com/t/is-possible-to-split-services-automatically-detect-by-dynatrace/19348>\
**Category:** Open Q&A\
**Tags:** services-classic, process-groups, oneagent\
**Created:** [January 30, 2019, 9:12am UTC](https://community.dynatrace.com/t/is-possible-to-split-services-automatically-detect-by-dynatrace/19348 "2019-01-30T09:12:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![d\_sarais](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@d\_sarais](https://community.dynatrace.com/u/d_sarais)\
**Post date:** [January 30, 2019, 9:12am UTC](https://community.dynatrace.com/t/is-possible-to-split-services-automatically-detect-by-dynatrace/19348/1 "2019-01-30T09:12:46Z")

</div>

I deployed OneAgent on two different layer of webserver (nginx): first one is the presentation layer (4 hosts) and the second one is the backend layer (other 4 hosts).

Detected service is only one (NGINX on port 443) but I need to split that in two different service i.e Nginx Frontend and Nginx Backend in order to reach best representation on dashboard side.

Did you ever done this trick?

Thank in advance!

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [January 30, 2019, 10:14am UTC](https://community.dynatrace.com/t/is-possible-to-split-services-automatically-detect-by-dynatrace/19348/2 "2019-01-30T10:14:12Z")

</div>

Hello [@davide s.](https://answers.dynatrace.com/users/26733/view.html),

how looks your process group? If you see only one process group nginx it is possible that those services are binded into one. In such way I suggest using environment variables to split those process groups based on their role and then services should also be separated.

[https://www.dynatrace.com/support/help/shortlink/p…](https://www.dynatrace.com/support/help/shortlink/process-groups#process-group-detection-rules-based-on-environment-variables)

Sebastian

---

<div class="post-metadata">

**Author:** ![d\_sarais](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@d\_sarais](https://community.dynatrace.com/u/d_sarais)\
**Post date:** [January 30, 2019, 11:44am UTC](https://community.dynatrace.com/t/is-possible-to-split-services-automatically-detect-by-dynatrace/19348/3 "2019-01-30T11:44:30Z")

</div>

Yes, I see just one process group “nginx”. Ok I will do this condifguration on hosts. Thanks a lot!
