<?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 V2 API - Filter Transformation Wildcard Search??? in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Filter-Transformation-Wildcard-Search/m-p/180663#M1725</link>
    <description>&lt;P&gt;In the filter transformations, I can do prefix, suffix, a few other functions, but no wildcard search. Is that possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;custom.db.query:filter(and(eq(query_name,oracledbinsights_cpucount))):splitBy(dbname):avg:auto:sort(value(avg,descending)):&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;filter(prefix("dbname","myserver"))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This query will do the prefix, but I cannot seem to find how to do a wildcard. In this case, I would like any dbname with "myserver" in the string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lou&lt;/P&gt;</description>
    <pubDate>Fri, 11 Feb 2022 21:01:33 GMT</pubDate>
    <dc:creator>louis_gallo</dc:creator>
    <dc:date>2022-02-11T21:01:33Z</dc:date>
    <item>
      <title>V2 API - Filter Transformation Wildcard Search???</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Filter-Transformation-Wildcard-Search/m-p/180663#M1725</link>
      <description>&lt;P&gt;In the filter transformations, I can do prefix, suffix, a few other functions, but no wildcard search. Is that possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;custom.db.query:filter(and(eq(query_name,oracledbinsights_cpucount))):splitBy(dbname):avg:auto:sort(value(avg,descending)):&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;filter(prefix("dbname","myserver"))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This query will do the prefix, but I cannot seem to find how to do a wildcard. In this case, I would like any dbname with "myserver" in the string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lou&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 21:01:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Filter-Transformation-Wildcard-Search/m-p/180663#M1725</guid>
      <dc:creator>louis_gallo</dc:creator>
      <dc:date>2022-02-11T21:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - Filter Transformation Wildcard Search???</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Filter-Transformation-Wildcard-Search/m-p/183013#M1769</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You could try using the entitySelector.&amp;nbsp; I think values in entityName use a "like"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;entitySelector("type(&lt;STRONG&gt;Your type here&lt;/STRONG&gt;),entityName(~"myserver~")"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 13:17:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Filter-Transformation-Wildcard-Search/m-p/183013#M1769</guid>
      <dc:creator>dajunki</dc:creator>
      <dc:date>2022-03-22T13:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - Filter Transformation Wildcard Search???</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Filter-Transformation-Wildcard-Search/m-p/183906#M1805</link>
      <description>&lt;P&gt;Hi Lou,&lt;/P&gt;&lt;P&gt;just to add some more info on top of&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/44458"&gt;@dajunki&lt;/a&gt;&amp;nbsp;s reponse.&lt;/P&gt;&lt;P&gt;I believe the filter function you would be looking for would be entityName.in, please find more information to all available selector functions &lt;A href="https://www.dynatrace.com/support/help/shortlink/api-entities-v2-selector#one-of-values-modification" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;An example of such a filter could look like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;filter(and(or(in("dt.entity.host",entitySelector("type(host),entityName.in(~"host01",~"host02~")")))))&lt;/LI-CODE&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 10:26:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Filter-Transformation-Wildcard-Search/m-p/183906#M1805</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2022-04-01T10:26:01Z</dc:date>
    </item>
  </channel>
</rss>

