<?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: How to filter processes for java version? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174710#M18748</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran the same entity selector command for our environment and got 0 results. If I call /v2/entities/&amp;lt;process instance id&amp;gt; on one of these PI's, there is no property starting with jvm.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only place that mentions the java version is in the softwareTechnologies array:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
    "awsNameTag": "xxxxxxxx",
    "softwareTechnologies": [
      {
        "type": "GARDEN"
      },
      {
        "type": "JAVA"
      },
      {
        "type": "SPRING",
        "edition": "WebFlux HTTP client",
        "version": "5.2.15.RELEASE"
      },
      {
        "type": "NETTY",
        "edition": "HTTP Server",
        "version": "4.1.65.Final"
      },
      {
        "type": "REACTOR_CORE",
        "version": "3.3.17.RELEASE"
      },
      {
        "type": "JAVA",
        "edition": "OpenJDK",
        "version": "11.0.11"
      }
    ],
    "processType": "JAVA",
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 16:58:45 GMT</pubDate>
    <dc:creator>mdouds</dc:creator>
    <dc:date>2021-10-25T16:58:45Z</dc:date>
    <item>
      <title>How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174584#M18725</link>
      <description>&lt;P&gt;I'm looking for a way to find all of the process groups with java version 11.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Infrastructure &amp;gt; Technologies &amp;amp; processes screen does not let you specify versions in the filter.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We thought about creating an auto tag as there is a "Technology Version" condition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using this as an example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mdouds_0-1634835305161.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/3101i519B98AB0493F89A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mdouds_0-1634835305161.png" alt="mdouds_0-1634835305161.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We cannot use&amp;nbsp;&lt;STRONG&gt;Technology version contains "OpenJDK 11"&lt;/STRONG&gt;, because the word "OpenJDK" is not present in the "version" field:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"type": "JAVA",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"edition": "OpenJDK",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"version": "11.0.11"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure enough,&amp;nbsp;&lt;STRONG&gt;Technology Version contains "OpenJDK 11"&amp;nbsp;&lt;/STRONG&gt;returns 0 matches.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I move the OpenJDK to its own condition:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Technology Edition equals "OpenJDK"&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;Technology Version begins with "11"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then we could see version matches coming from other technologies, like this hypothetical:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Garden, Java (OpenJDK 10), SomeOtherClient (11.0.6), reactor-core (3.3.17.RELEASE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to find an exact match where a specific technology edition has to match a specific version?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 17:05:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174584#M18725</guid>
      <dc:creator>mdouds</dc:creator>
      <dc:date>2021-10-21T17:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174639#M18735</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/25486"&gt;@mdouds&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you could do that via the API and an &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2/entity-selector/#attribute" target="_self"&gt;entitySelector&lt;/A&gt; on a attribute of a process group instance like so:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/api/v2/entities?entitySelector=type(PROCESS_GROUP_INSTANCE),processType("JAVA"),jvmClrVersion("1.8.0_261")&lt;/LI-CODE&gt;&lt;P&gt;Unfortunately the attribute selector doesn't have any contains but only exact matches.&lt;/P&gt;&lt;P&gt;But what you could do is maybe create an entityselector based tagging rule and then based on this tag perform the next tagging with "begins", "contains".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kr,&lt;/P&gt;&lt;P&gt;Reinhard&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 11:24:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174639#M18735</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2021-10-22T11:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174646#M18737</link>
      <description>&lt;P&gt;No luck using this approach. The processes using OpenJDK are not reporting a jvmClrVersion property.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 13:20:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174646#M18737</guid>
      <dc:creator>mdouds</dc:creator>
      <dc:date>2021-10-22T13:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174647#M18738</link>
      <description>&lt;UL&gt;&lt;LI&gt;Works:&amp;nbsp;&lt;SPAN&gt;Java (IBM 1.8.0_271 SR6 FP20)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Does not work:&amp;nbsp;&lt;SPAN&gt;Java (OpenJDK 1.8.0_292)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 22 Oct 2021 13:22:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174647#M18738</guid>
      <dc:creator>mdouds</dc:creator>
      <dc:date>2021-10-22T13:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174656#M18739</link>
      <description>&lt;P&gt;I quickly fired up an API request here, with this selector:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(PROCESS_GROUP_INSTANCE),jvmVendor("OpenJDK")&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;"properties": {
            "awsNameTag": "SAP Hybris",
            "bitness": "64",
            "detectedName": "tomcat",
            "installerVersion": "1.225.146.20210929-151104",
            "jvmClrVersion": "11.0.12",
            "jvmVendor": "OpenJDK",
            "listenPorts": [
                9001
            ],
            ...
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 17:55:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174656#M18739</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2021-10-22T17:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174708#M18747</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe java included with springboot does not include jvmVendor or clr version. I get zero results for that entitySelector, and when viewing a specific java process, see no jvm* property.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "entityId": "xxxxxxxxx",
  "displayName": "xxxxxxxx",
  "firstSeenTms": 1634709420000,
  "lastSeenTms": 1635173340000,
  "properties": {
    "bitness": "64",
    "detectedName": "xxxxxxxx",
    "metadata": [
      xxxxxx
    ],
    "installerVersion": "1.219.156.20210713-151838",
    "awsNameTag": "xxxxxxxx",
    "softwareTechnologies": [
      {
        "type": "GARDEN"
      },
      {
        "type": "JAVA"
      },
      {
        "type": "SPRING",
        "edition": "WebFlux HTTP client",
        "version": "5.2.15.RELEASE"
      },
      {
        "type": "NETTY",
        "edition": "HTTP Server",
        "version": "4.1.65.Final"
      },
      {
        "type": "REACTOR_CORE",
        "version": "3.3.17.RELEASE"
      },
      {
        "type": "JAVA",
        "edition": "OpenJDK",
        "version": "11.0.11"
      }
    ],
    "processType": "JAVA",&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 14:59:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174708#M18747</guid>
      <dc:creator>mdouds</dc:creator>
      <dc:date>2021-10-25T14:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174710#M18748</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran the same entity selector command for our environment and got 0 results. If I call /v2/entities/&amp;lt;process instance id&amp;gt; on one of these PI's, there is no property starting with jvm.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only place that mentions the java version is in the softwareTechnologies array:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
    "awsNameTag": "xxxxxxxx",
    "softwareTechnologies": [
      {
        "type": "GARDEN"
      },
      {
        "type": "JAVA"
      },
      {
        "type": "SPRING",
        "edition": "WebFlux HTTP client",
        "version": "5.2.15.RELEASE"
      },
      {
        "type": "NETTY",
        "edition": "HTTP Server",
        "version": "4.1.65.Final"
      },
      {
        "type": "REACTOR_CORE",
        "version": "3.3.17.RELEASE"
      },
      {
        "type": "JAVA",
        "edition": "OpenJDK",
        "version": "11.0.11"
      }
    ],
    "processType": "JAVA",
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 16:58:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/174710#M18748</guid>
      <dc:creator>mdouds</dc:creator>
      <dc:date>2021-10-25T16:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/183965#M20459</link>
      <description>&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Dear Dynatrace: This is another instance where it would be useful to allow us to use Properties as Tags. This information is available in the Process Group Instance properties.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the 4th or 5th time I'm writing tagging rules to extract properties information.&amp;nbsp; This shouldn't even be necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is just the draft but we have a tagging rule that gets the EXEpath data for a process group then extracts the version "{ProcessGroup:ExePath/openjdk-(\d+?\.*?\d+\.*?\d+\.*?\d+)}".&amp;nbsp; &amp;nbsp;I need to make the Regex more robust and add additional conditions for non openjdk and java11 etc. but it works.&amp;nbsp; Also, Dynatrace auto tags the Process Group Instance even though your rule is applied to Process Groups (undocumented but that's what it does)&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 19:50:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/183965#M20459</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2022-04-01T19:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/257940#M34051</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35901"&gt;@r_weber&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to identify the processes utilizing Java 19?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babar_Qayyum_0-1727943073200.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23158iD5A61B81B9FF2AC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Babar_Qayyum_0-1727943073200.png" alt="Babar_Qayyum_0-1727943073200.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 08:14:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/257940#M34051</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2024-10-03T08:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/257950#M34053</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/25486"&gt;@mdouds&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Not sure if you have tried this already but this can be achieved using DQL.&lt;BR /&gt;If you are on the latest version of Dynatrace SaaS and you have Grail enabled, just go to Notebooks, Create new Notebook, add DQL query and try this.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.process_group
| fieldsAdd softwareTechnologies
| expand softwareTechnologies
| filterOut isNull(softwareTechnologies)
| filter matchesPhrase(softwareTechnologies,"JAVA")
| parse softwareTechnologies,"\"type:JAVA,edition:\"LD:edition\",version:\"LD:version"&lt;/LI-CODE&gt;&lt;P&gt;Now you'll have a filed called version and using that you can filter out required version of JAVA.&lt;BR /&gt;for example,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.process_group
| fieldsAdd softwareTechnologies
| expand softwareTechnologies
| filterOut isNull(softwareTechnologies)
| filter matchesPhrase(softwareTechnologies,"JAVA")
| parse softwareTechnologies,"\"type:JAVA,edition:\"LD:edition\",version:\"LD:version"
| filter version == "11"&lt;/LI-CODE&gt;&lt;P&gt;filters and displays only process groups that are on version 11.&lt;BR /&gt;&lt;BR /&gt;Note: This version field is a string and if you use contains like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.process_group
| fieldsAdd softwareTechnologies
| expand softwareTechnologies
| filterOut isNull(softwareTechnologies)
| filter matchesPhrase(softwareTechnologies,"JAVA")
| parse softwareTechnologies,"\"type:JAVA,edition:\"LD:edition\",version:\"LD:version"
| filter matchesPhrase(version,"11")&lt;/LI-CODE&gt;&lt;P&gt;It does list out all the version strings with 11 as part of which means all 11.xx versions are covered but also if a version is 17.0.11 that is also covered so play around with caution.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 08:52:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/257950#M34053</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2024-10-03T08:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/257951#M34054</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/22017"&gt;@Babar_Qayyum&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;You can refer to the process I just posted on this thread.&lt;BR /&gt;It should probably help.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 08:56:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/257951#M34054</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2024-10-03T08:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter processes for java version?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/257952#M34055</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. We have a managed setup.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 08:57:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-filter-processes-for-java-version/m-p/257952#M34055</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2024-10-03T08:57:12Z</dc:date>
    </item>
  </channel>
</rss>

