<?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: Filter using IN predicate example in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Filter-using-in-predicate-example/m-p/171255#M1390</link>
    <description>&lt;P&gt;I solved it....&amp;nbsp; once i encoded the spaces and quotes it works&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;builtin:apps.web.action.percentageOfUserActionsAffectedByErrors:parents:names:filter(and(in(%22dt.entity.application%22,entitySelector(%22type(application),entityName(~%22hmig%20opus%20spec%20exp%20rating~%22)%22))))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Aug 2021 15:34:30 GMT</pubDate>
    <dc:creator>dajunki</dc:creator>
    <dc:date>2021-08-26T15:34:30Z</dc:date>
    <item>
      <title>Filter using in predicate example</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Filter-using-in-predicate-example/m-p/171244#M1389</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dajunki_0-1629987712480.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/2031i53C9E5CF34F0A162/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dajunki_0-1629987712480.png" alt="dajunki_0-1629987712480.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am trying to get errors at the method level, for a given application.&amp;nbsp; I am using parents and names to have these values show up in the map.&amp;nbsp; Based on documentation i should be able to use a filter with an IN clause to then point back to an entity selector.&amp;nbsp; I have tried many times to get this to work and i keep getting syntax errors for escaping quotes.&amp;nbsp; There is not a true example of using the IN clause in the documentation i can find.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the closest i can get&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;SPAN&gt;builtin:apps.web.action.percentageOfUserActionsAffectedByErrors:parents:names:filter(in("dt.entity.application_method",entitySelector(entityId(~"APPLICATION_METHOD-89D030276ECF4844~"))))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;I tried to keep it simple and use the method id just to see if i can get it to work.&amp;nbsp; This is the message i get&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;message"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Failed&amp;nbsp;to&amp;nbsp;parse&amp;nbsp;selector:&amp;nbsp;expected&amp;nbsp;a&amp;nbsp;plain&amp;nbsp;argument&amp;nbsp;for&amp;nbsp;function&amp;nbsp;entitySelector,&amp;nbsp;but&amp;nbsp;found&amp;nbsp;nested&amp;nbsp;invocation"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Aug 2024 09:14:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Filter-using-in-predicate-example/m-p/171244#M1389</guid>
      <dc:creator>dajunki</dc:creator>
      <dc:date>2024-08-21T09:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using IN predicate example</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Filter-using-in-predicate-example/m-p/171255#M1390</link>
      <description>&lt;P&gt;I solved it....&amp;nbsp; once i encoded the spaces and quotes it works&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;builtin:apps.web.action.percentageOfUserActionsAffectedByErrors:parents:names:filter(and(in(%22dt.entity.application%22,entitySelector(%22type(application),entityName(~%22hmig%20opus%20spec%20exp%20rating~%22)%22))))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 15:34:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Filter-using-in-predicate-example/m-p/171255#M1390</guid>
      <dc:creator>dajunki</dc:creator>
      <dc:date>2021-08-26T15:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using IN predicate example</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Filter-using-in-predicate-example/m-p/254450#M3352</link>
      <description>&lt;P&gt;If i try with this one I'm getting mutliple response from multiple environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 05:55:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Filter-using-in-predicate-example/m-p/254450#M3352</guid>
      <dc:creator>Cky007</dc:creator>
      <dc:date>2024-08-29T05:55:30Z</dc:date>
    </item>
  </channel>
</rss>

