<?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 How to select multiple entityName.startsWith statements? in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/How-to-select-multiple-entityName-startsWith-statements/m-p/279026#M3170</link>
    <description>&lt;P&gt;I am trying to make some of our rules more efficient and cut down on the amount of rules needed for auto tags. Does anyone know if it is possible to add an OR statement as part of the syntax below?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(CONTAINER_GROUP),toRelationships.isInstanceOf(type(CONTAINER_GROUP_INSTANCE),fromRelationships.isCgiOfNamespace(type(CLOUD_APPLICATION_NAMESPACE),entityName.startsWith("example1")))&lt;/LI-CODE&gt;&lt;P class=""&gt;For example, I want to select multiple namespaces in this case, like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;example1 OR example 2 OR example 3&amp;nbsp;And so on.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is that even possible using entityName.startsWith?&lt;/P&gt;&lt;P&gt;The following works as an OR but it is based on the ID of the namespace as to where I want to do the same but, by the namespace name instead which does not seem to work.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(CONTAINER_GROUP),torelationships.isInstanceOf(type(CONTAINER_GROUP_INSTANCE),fromRelationships.isCgiOfNamespace(type(CLOUD_APPLICATION_NAMESPACE),entityId("CLOUD_APPLICATION_NAMESPACE-1234","CLOUD_APPLICATION_NAMESPACE-5678")))&lt;/LI-CODE&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jun 2025 15:59:39 GMT</pubDate>
    <dc:creator>larry_roberts</dc:creator>
    <dc:date>2025-06-10T15:59:39Z</dc:date>
    <item>
      <title>How to select multiple entityName.startsWith statements?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-select-multiple-entityName-startsWith-statements/m-p/279026#M3170</link>
      <description>&lt;P&gt;I am trying to make some of our rules more efficient and cut down on the amount of rules needed for auto tags. Does anyone know if it is possible to add an OR statement as part of the syntax below?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(CONTAINER_GROUP),toRelationships.isInstanceOf(type(CONTAINER_GROUP_INSTANCE),fromRelationships.isCgiOfNamespace(type(CLOUD_APPLICATION_NAMESPACE),entityName.startsWith("example1")))&lt;/LI-CODE&gt;&lt;P class=""&gt;For example, I want to select multiple namespaces in this case, like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;example1 OR example 2 OR example 3&amp;nbsp;And so on.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is that even possible using entityName.startsWith?&lt;/P&gt;&lt;P&gt;The following works as an OR but it is based on the ID of the namespace as to where I want to do the same but, by the namespace name instead which does not seem to work.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(CONTAINER_GROUP),torelationships.isInstanceOf(type(CONTAINER_GROUP_INSTANCE),fromRelationships.isCgiOfNamespace(type(CLOUD_APPLICATION_NAMESPACE),entityId("CLOUD_APPLICATION_NAMESPACE-1234","CLOUD_APPLICATION_NAMESPACE-5678")))&lt;/LI-CODE&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 15:59:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-select-multiple-entityName-startsWith-statements/m-p/279026#M3170</guid>
      <dc:creator>larry_roberts</dc:creator>
      <dc:date>2025-06-10T15:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple entityName.startsWith statements?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-select-multiple-entityName-startsWith-statements/m-p/279038#M3171</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/33677"&gt;@larry_roberts&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;It seems that an OR condition is not supported with entityName.startsWith, as it does not accept multiple values. Therefore, using a call like entityName.startsWith("name", "name1", "etc") is not valid, I belive.&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/entity-v2/entity-selector#starts-with-modification" target="_blank"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/entity-v2/entity-selector#starts-with-modification&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think it would be better to have DQL support for configuration auto-tagging, or some kind of auto-tagging app specifically for configurations. Not sure already there ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 16:16:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-select-multiple-entityName-startsWith-statements/m-p/279038#M3171</guid>
      <dc:creator>Akhil-Jayendran</dc:creator>
      <dc:date>2025-06-10T16:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple entityName.startsWith statements?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-select-multiple-entityName-startsWith-statements/m-p/279041#M3172</link>
      <description>&lt;P&gt;Yeah seems to be what I am finding as well. It was worth the question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I did created an &lt;A href="https://community.dynatrace.com/t5/Product-ideas/RFE-Allow-for-multiple-values-using-entityName-startsWith/idi-p/279044#M52337" target="_self"&gt;RFE&lt;/A&gt; on this.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 17:00:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-select-multiple-entityName-startsWith-statements/m-p/279041#M3172</guid>
      <dc:creator>larry_roberts</dc:creator>
      <dc:date>2025-06-10T17:00:12Z</dc:date>
    </item>
  </channel>
</rss>

