<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Combining services or Process groups for Apache Web Server* in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Combining-services-or-Process-groups-for-Apache-Web-Server/m-p/287620#M37767</link>
    <description>&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;You need to distinguish between Process Groups (PGs) and Services in Dynatrace:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Process Group (PG) → relates to processes (e.g., Apache httpd). You can merge them with grouping rules.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Service → relates to entry points (e.g., port 80, 443). Dynatrace will always split these per port; you cannot fully merge them into one.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;So: you can’t merge them into a single Service, but you can merge them into one Process Group – using Declarative Process Grouping or Advanced Detection Rules.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H3&gt;&lt;FONT face="andale mono,times" size="4"&gt;How to do it for Apache:&lt;/FONT&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Go to Settings → Processes and containers → Declarative process grouping.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Click Add monitored technology and select Apache HTTP Server.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Add a Process Group with a custom identifier (e.g., Apache-UPI).&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Add a detection rule, for example:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Executable path → $contains(httpd)&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;or Command line args → $contains(/opt/Apache24/bin/httpd)&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Save changes and restart Apache so OneAgent can reassign the processes.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Result: all Apache processes (regardless of port) will belong to one Process Group, letting you consolidate metrics (CPU, memory, I/O, process count, etc.).&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H3&gt;&lt;FONT face="andale mono,times" size="4"&gt;Alternative: Advanced Process Group Detection&lt;/FONT&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;In Settings → Processes and containers → Advanced detection rules, you can create a rule like:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="4"&gt;&lt;EM&gt;“Any process with EXE path /opt/Apache24/bin/httpd + Host Group UPI belongs to the same group.”&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;This provides more flexibility, for example separating environments (test vs. prod) using tags or environment variables.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Services will still be listed separately for each port (80, 443, etc.) – this cannot be changed.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;But with Process Grouping you can:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Have one Apache process group instead of several,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Aggregate metrics globally,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Simplify dashboards and alerts.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Oct 2025 12:30:21 GMT</pubDate>
    <dc:creator>t_pawlak</dc:creator>
    <dc:date>2025-10-10T12:30:21Z</dc:date>
    <item>
      <title>Combining services or Process groups for Apache Web Server*</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Combining-services-or-Process-groups-for-Apache-Web-Server/m-p/287607#M37762</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;We are observing &lt;STRONG&gt;duplicate services&lt;/STRONG&gt; in Dynatrace that appear to be the &lt;STRONG&gt;same service but running on different port numbers&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;We attempted to &lt;STRONG&gt;combine them using Advanced Process Group Detection Rules&lt;/STRONG&gt;, considering that the processes have the &lt;STRONG&gt;same executable&lt;/STRONG&gt;, but it didn’t work as expected.&lt;/P&gt;&lt;P&gt;Could anyone please help us understand how we can &lt;STRONG&gt;merge or group these services&lt;/STRONG&gt; effectively? An example or guidance would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vikascsb_0-1760087230772.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30432iF3ADC7B165F9F856/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vikascsb_0-1760087230772.png" alt="vikascsb_0-1760087230772.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vikascsb_1-1760087256161.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30433i84CD68E5E3F48B0F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vikascsb_1-1760087256161.png" alt="vikascsb_1-1760087256161.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 09:09:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Combining-services-or-Process-groups-for-Apache-Web-Server/m-p/287607#M37762</guid>
      <dc:creator>vikascsb</dc:creator>
      <dc:date>2025-10-10T09:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Combining services or Process groups for Apache Web Server*</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Combining-services-or-Process-groups-for-Apache-Web-Server/m-p/287615#M37765</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would use &lt;A title="Declarative process grouping" href="https://docs.dynatrace.com/docs/shortlink/declarative-grouping" target="_blank" rel="noopener"&gt;Declarative process grouping&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 11:01:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Combining-services-or-Process-groups-for-Apache-Web-Server/m-p/287615#M37765</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-10-10T11:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Combining services or Process groups for Apache Web Server*</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Combining-services-or-Process-groups-for-Apache-Web-Server/m-p/287620#M37767</link>
      <description>&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;You need to distinguish between Process Groups (PGs) and Services in Dynatrace:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Process Group (PG) → relates to processes (e.g., Apache httpd). You can merge them with grouping rules.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Service → relates to entry points (e.g., port 80, 443). Dynatrace will always split these per port; you cannot fully merge them into one.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;So: you can’t merge them into a single Service, but you can merge them into one Process Group – using Declarative Process Grouping or Advanced Detection Rules.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H3&gt;&lt;FONT face="andale mono,times" size="4"&gt;How to do it for Apache:&lt;/FONT&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Go to Settings → Processes and containers → Declarative process grouping.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Click Add monitored technology and select Apache HTTP Server.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Add a Process Group with a custom identifier (e.g., Apache-UPI).&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Add a detection rule, for example:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Executable path → $contains(httpd)&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;or Command line args → $contains(/opt/Apache24/bin/httpd)&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Save changes and restart Apache so OneAgent can reassign the processes.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Result: all Apache processes (regardless of port) will belong to one Process Group, letting you consolidate metrics (CPU, memory, I/O, process count, etc.).&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H3&gt;&lt;FONT face="andale mono,times" size="4"&gt;Alternative: Advanced Process Group Detection&lt;/FONT&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;In Settings → Processes and containers → Advanced detection rules, you can create a rule like:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="4"&gt;&lt;EM&gt;“Any process with EXE path /opt/Apache24/bin/httpd + Host Group UPI belongs to the same group.”&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;This provides more flexibility, for example separating environments (test vs. prod) using tags or environment variables.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Services will still be listed separately for each port (80, 443, etc.) – this cannot be changed.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;But with Process Grouping you can:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Have one Apache process group instead of several,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Aggregate metrics globally,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Simplify dashboards and alerts.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 12:30:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Combining-services-or-Process-groups-for-Apache-Web-Server/m-p/287620#M37767</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2025-10-10T12:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Combining services or Process groups for Apache Web Server*</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Combining-services-or-Process-groups-for-Apache-Web-Server/m-p/288501#M37855</link>
      <description>&lt;P&gt;Services can be "merged" by creating your own service detection rules, see&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/rule-based-service-detection" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/rule-based-service-detection&lt;/A&gt;&lt;BR /&gt;Keep in mind that only services within the same process group can be "merged". If those Apache processes are not part of a single process group, you need to follow the steps by&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/42367"&gt;@t_pawlak&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2025 15:05:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Combining-services-or-Process-groups-for-Apache-Web-Server/m-p/288501#M37855</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-10-26T15:05:05Z</dc:date>
    </item>
  </channel>
</rss>

