<?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: Advanced detection rule for process group in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209105#M25553</link>
    <description>&lt;P&gt;You can try to use environment variable &lt;A href="https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/process-groups/configuration/pg-detection" target="_self"&gt;DT_CLUSTER_ID&lt;/A&gt;=&lt;SPAN&gt;process-1 to skip all built-in \ additional user defined rules.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Romanenkov_Al3x_1-1680677077440.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10955i9E755005CAAF58CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Romanenkov_Al3x_1-1680677077440.png" alt="Romanenkov_Al3x_1-1680677077440.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We use this approach in k8s - to have no set of rules in the interface and to be able to manage the name of the process group from the yaml manifest by application\infra team.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or try to use "advanced process group detection rule" with environment variables as&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/4669"&gt;@michiel_otten&lt;/a&gt;&amp;nbsp;replied.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alex Romanenkov&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 07:00:59 GMT</pubDate>
    <dc:creator>Romanenkov_Al3x</dc:creator>
    <dc:date>2023-04-05T07:00:59Z</dc:date>
    <item>
      <title>Advanced detection rule for process group</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209075#M25541</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;With the advanced process group detection rule, I'm able to get the process groups below&lt;BR /&gt;&lt;SPAN&gt;process-1-1234-ab1c,&amp;nbsp;process-2-5678-xy1z, and so on...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I would like them to be detected as,&lt;BR /&gt;process-1,process-2&lt;/P&gt;
&lt;P&gt;There is no option to apply regular expression, only delimits from and to option are present&lt;/P&gt;
&lt;P&gt;Can someone help to achieve this?&lt;BR /&gt;Regards,&lt;BR /&gt;AK&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 10:45:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209075#M25541</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2023-04-07T10:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced detection rule for process group</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209077#M25542</link>
      <description>&lt;P&gt;Since it's the name you want to change, could you not use a Process Group Naming Rule -&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/process-groups/configuration/pg-naming" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/process-groups/configuration/pg-naming&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That allows regex&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 16:58:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209077#M25542</guid>
      <dc:creator>Tom_Eaton</dc:creator>
      <dc:date>2023-04-04T16:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced detection rule for process group</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209080#M25543</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/53035"&gt;@Tom_Eaton&lt;/a&gt;&amp;nbsp;, Thanks for the response,&lt;BR /&gt;I think, I missed to add that, the process groups '&lt;SPAN&gt;process-1-1234-ab1c,&amp;nbsp;process-2-5678-xy1z' are&amp;nbsp;&lt;/SPAN&gt;detected via 'a&lt;SPAN&gt;dvanced process group detection rule' and because this rule, it keeps creating process groups like below,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;process-1-1234-ab1c, process-1-3211-fd5j,&amp;nbsp;process-1-3298-vbs5, and so on..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;process-2-5678-xy1z, process-2-9845-ab1c, process-2-0121-ret3,&amp;nbsp;and so on..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;process-3-8765-xsf1, process-3-6544-q2we, process-3-5890-1aws,&amp;nbsp;and so on..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and so on...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If I use 'process naming rule' to exclude content after second hyphen (-) for above process groups then, there will be lot of process groups with same name. If we take example for above case then, after applying process group naming rule it will be like below,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;process-1, process-1,&amp;nbsp;process-1, and so on.. (Process group)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;process-2, process-2,&amp;nbsp;process-2,&amp;nbsp;and so on.. (Process group)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;process-3, process-3,&amp;nbsp;process-3,&amp;nbsp;and so on.. (Process group)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and so on...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So process group naming rules will not help. We need to build a 'process detection rule' that will group a processes like below,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;process-1 (Process group)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;--&amp;gt; process-1-1234-ab1c, process-1-3211-fd5j,&amp;nbsp;process-1-3298-vbs5, and so on.. (Process group instance)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;process-2 (Process group)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;--&amp;gt; process-2-5678-xy1z, process-2-9845-ab1c, process-2-0121-ret3,&amp;nbsp;and so on.. (Process group instance)&lt;BR /&gt;process-3 (Process group)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;--&amp;gt; process-3-8765-xsf1, process-3-6544-q2we, process-3-5890-1aws,&amp;nbsp;and so on.. (Process group instance)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 17:32:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209080#M25543</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2023-04-04T17:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced detection rule for process group</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209085#M25546</link>
      <description>&lt;P&gt;Are there any other unique identiefiers within the process? If not perhaps it's possible to work with an environment variable within the process?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/process-groups/configuration/pg-detection" target="_blank"&gt;https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/process-groups/configuration/pg-detection&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check the part about environment variables?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 18:47:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209085#M25546</guid>
      <dc:creator>michiel_otten</dc:creator>
      <dc:date>2023-04-04T18:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced detection rule for process group</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209105#M25553</link>
      <description>&lt;P&gt;You can try to use environment variable &lt;A href="https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/process-groups/configuration/pg-detection" target="_self"&gt;DT_CLUSTER_ID&lt;/A&gt;=&lt;SPAN&gt;process-1 to skip all built-in \ additional user defined rules.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Romanenkov_Al3x_1-1680677077440.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10955i9E755005CAAF58CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Romanenkov_Al3x_1-1680677077440.png" alt="Romanenkov_Al3x_1-1680677077440.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We use this approach in k8s - to have no set of rules in the interface and to be able to manage the name of the process group from the yaml manifest by application\infra team.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or try to use "advanced process group detection rule" with environment variables as&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/4669"&gt;@michiel_otten&lt;/a&gt;&amp;nbsp;replied.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alex Romanenkov&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 07:00:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209105#M25553</guid>
      <dc:creator>Romanenkov_Al3x</dc:creator>
      <dc:date>2023-04-05T07:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced detection rule for process group</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209346#M25621</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/51881"&gt;@Romanenkov_Al3x&lt;/a&gt;, thank you for the response.&lt;/P&gt;&lt;P&gt;Where I can find the variables that are passed, does it show anywhere on Dynatrace console or I have to look into kubernetes.yml?&lt;/P&gt;&lt;P&gt;I'm observing some 'Kubernetes annotations' at process group instance level, can we make use of that in detection rule?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 05:47:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209346#M25621</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2023-04-07T05:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced detection rule for process group</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209385#M25629</link>
      <description>&lt;P&gt;Thank you for help and suggestions everyone.&lt;BR /&gt;Well, my colleague help me to do it successfully. Here is how we achieved it.&lt;/P&gt;&lt;P&gt;Created a advanced detection rule to extract process groups with numbers and then created a process group naming rule to give desired names to process groups,&lt;/P&gt;&lt;P&gt;Using 'Advanced detection rule process groups transformed&lt;SPAN&gt;&amp;nbsp;to,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;1 (Process group)
   --&amp;gt; 1, 1, 1, and so on.. (Process group instance)
2 (Process group)
   --&amp;gt; 2, 2, 2, and so on.. (Process group instance)
3 (Process group)
   --&amp;gt; 3, 3, 3, and so on.. (Process group instance)
.
.
and so on...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Applied process group naming rule to make it like below,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;process-1 (Process group)
   --&amp;gt; process-1, process-1, process-1, and so on.. (Process group instance)
process-2 (Process group)
   --&amp;gt; process-2, process-2, process-2, and so on.. (Process group instance)
process-3 (Process group)
   --&amp;gt; process-3, process-3, process-3, and so on.. (Process group instance)
.
.
and so on...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 17:58:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Advanced-detection-rule-for-process-group/m-p/209385#M25629</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2023-04-07T17:58:06Z</dc:date>
    </item>
  </channel>
</rss>

