<?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: Process group and command line args in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/184186#M20498</link>
    <description>&lt;P&gt;Idea submitted since 2018...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Dynatrace-product-ideas/Allow-Dynatrace-to-customize-process-group-for-non-deep/idi-p/149071" target="_blank" rel="noopener"&gt;https://community.dynatrace.com/t5/Dynatrace-product-ideas/Allow-Dynatrace-to-customize-process-group-for-non-deep/idi-p/149071&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Voted.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 09:08:40 GMT</pubDate>
    <dc:creator>SimonGuillemot</dc:creator>
    <dc:date>2022-04-06T09:08:40Z</dc:date>
    <item>
      <title>Process group and command line args</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/183322#M20332</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following use case, multiple process running with different arguments :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/bin/bash ./testDynatraceLog.sh -help -file=/tmp/projet1
/bin/bash ./testDynatraceLog.sh -help -file=/tmp/projet2
/bin/bash ./testDynatraceLog.sh -help -file=/tmp/projet3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have in the top consumers, the process group : "bash"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to separate the process are the do not belong to the same project :&lt;/P&gt;&lt;P&gt;I created&amp;nbsp; a "Declarative process grouping" : MyBatchProcess, with the rules :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$contains(file=/tmp)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;So, it works. I see in the process list : MyBatchProcess instead of "bash"&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Now I would like to split the process group into single process :&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MyBatchProcess-project1
MyBatchProcess-project2
MyBatchProcess-project3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;So I add :&amp;nbsp;Advanced detection rules :&lt;/DIV&gt;&lt;DIV class=""&gt;- if EXE is bash&lt;/DIV&gt;&lt;DIV class=""&gt;- extract from command line args, from "file=/tmp/"&lt;BR /&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SimonGuillemot_0-1648159962932.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/5006i5F8C953F90A78F4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SimonGuillemot_0-1648159962932.png" alt="SimonGuillemot_0-1648159962932.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;But it's not working...&lt;/DIV&gt;&lt;DIV class=""&gt;Any ideas ?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Other things, not sure that the rules : $contains(-file=) works well. It seems to work like $contains(file=) but I didn't see any indication that the arguments is not a "simple" string&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Mar 2022 22:15:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/183322#M20332</guid>
      <dc:creator>SimonGuillemot</dc:creator>
      <dc:date>2022-03-24T22:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Process group and command line args</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/183357#M20339</link>
      <description>&lt;P&gt;Be careful not to mix things.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;Declarative grouping&lt;/STRONG&gt;, used in your first part, does not work for processes that have&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/process-group-monitoring#anchor_deep-monitoring" target="_blank" rel="noopener"&gt;deep monitoring enabled&lt;/A&gt;&lt;SPAN&gt;. So fits the purpose you try to achieve.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Advanced process group detection&lt;/STRONG&gt; rules, as I think you use in the second part, enable you to adapt the detection logic for deep monitored processes, only. And that does not apply.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You will have to stick to Declarative Process grouping, with its limitations.&lt;BR /&gt;If your "projectN" instances are a fixed set, you can add an entry for each.&lt;BR /&gt;I however advise to go by the API path then, especially if there are more then 3 entities.&lt;BR /&gt;Unfortunately&amp;nbsp;regex and such to match on every possible occurrence&amp;nbsp;is not possible yet.&lt;BR /&gt;&lt;BR /&gt;I was thinking of the DT_CLUSTER_ID environment that you could set, but I think that only works with deep monitored processes.&lt;BR /&gt;&lt;A href="https://community.dynatrace.com/t5/Dynatrace-Open-Q-A/for-the-expert-DT-CLUSTER-ID-vs-HOSTGROUPS/m-p/113308" target="_blank" rel="noopener"&gt;https://community.dynatrace.com/t5/Dynatrace-Open-Q-A/for-the-expert-DT-CLUSTER-ID-vs-HOSTGROUPS/m-p/113308&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also have a look at this topic:&lt;BR /&gt;&lt;A href="https://community.dynatrace.com/t5/Dynatrace-Open-Q-A/Declarative-process-grouping-what-is-the-format-of-the-detection/m-p/181766" target="_blank"&gt;https://community.dynatrace.com/t5/Dynatrace-Open-Q-A/Declarative-process-grouping-what-is-the-format-of-the-detection/m-p/181766&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 13:17:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/183357#M20339</guid>
      <dc:creator>fstekelenburg</dc:creator>
      <dc:date>2022-03-25T13:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Process group and command line args</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/183642#M20377</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very clear answer. It totally explains all the things.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is someone aware of a plan to add the feature "extract something" for the process group detection of the declarative process grouping ? Or for automatic tagging&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 14:37:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/183642#M20377</guid>
      <dc:creator>SimonGuillemot</dc:creator>
      <dc:date>2022-03-30T14:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Process group and command line args</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/184183#M20496</link>
      <description>&lt;P&gt;If somebody hasn't done it already, you could always file it as &lt;A href="https://community.dynatrace.com/t5/Dynatrace-product-ideas/idb-p/DynatraceProductIdeas" target="_self"&gt;Product Idea&lt;/A&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 08:59:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/184183#M20496</guid>
      <dc:creator>fstekelenburg</dc:creator>
      <dc:date>2022-04-06T08:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Process group and command line args</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/184186#M20498</link>
      <description>&lt;P&gt;Idea submitted since 2018...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Dynatrace-product-ideas/Allow-Dynatrace-to-customize-process-group-for-non-deep/idi-p/149071" target="_blank" rel="noopener"&gt;https://community.dynatrace.com/t5/Dynatrace-product-ideas/Allow-Dynatrace-to-customize-process-group-for-non-deep/idi-p/149071&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Voted.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 09:08:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/184186#M20498</guid>
      <dc:creator>SimonGuillemot</dc:creator>
      <dc:date>2022-04-06T09:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Process group and command line args</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/241920#M31727</link>
      <description>&lt;P&gt;on the same topic, I have many JVMs in my system and we would like to extract the process "&lt;SPAN&gt;Command line args" then parse this and extract the JVM min and max heap and we want to check if the it -agent argument. Finally we want to plot those for each JVM to see what has changed in this JVM after the new deployment if any. Basically to do quality check each time. Any idea if this is possible in DT, the process is already deep monitored and hosts are in full stack. I appreciate any reply.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 19:08:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-group-and-command-line-args/m-p/241920#M31727</guid>
      <dc:creator>MarwanC</dc:creator>
      <dc:date>2024-04-04T19:08:50Z</dc:date>
    </item>
  </channel>
</rss>

