<?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: why do matchesValue and matchesPhrase give different results in this case? in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/why-do-matchesValue-and-matchesPhrase-give-different-results-in/m-p/240612#M748</link>
    <description>&lt;P&gt;doesn't support mid-string wildcards, except some of the time when it does apparently!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2024 20:45:20 GMT</pubDate>
    <dc:creator>GerryIsHere</dc:creator>
    <dc:date>2024-03-20T20:45:20Z</dc:date>
    <item>
      <title>why do matchesValue and matchesPhrase give different results in this case?</title>
      <link>https://community.dynatrace.com/t5/DQL/why-do-matchesValue-and-matchesPhrase-give-different-results-in/m-p/240607#M745</link>
      <description>&lt;P&gt;Here are two queries, I don't understand why the results are different (same time period 24 hours):&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;fetch logs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;| filter &lt;STRONG&gt;matchesPhrase&lt;/STRONG&gt;(host.name, "tar04*")&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;| summarize collectDistinct(host.name)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;tar045.dcmax.local&lt;BR /&gt;tar046.dcmax.local&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;fetch logs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;| filter &lt;STRONG&gt;matchesValue&lt;/STRONG&gt;(host.name, "tar04*")&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;| summarize collectDistinct(host.name)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;tar040.dcmax.local&lt;BR /&gt;tar041.dcmax.local&lt;BR /&gt;tar045.dcmax.local&lt;BR /&gt;tar046.dcmax.local&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 10:30:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/why-do-matchesValue-and-matchesPhrase-give-different-results-in/m-p/240607#M745</guid>
      <dc:creator>GerryIsHere</dc:creator>
      <dc:date>2024-03-21T10:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: why do matchesValue and matchesPhrase give different results in this case?</title>
      <link>https://community.dynatrace.com/t5/DQL/why-do-matchesValue-and-matchesPhrase-give-different-results-in/m-p/240610#M746</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/72301"&gt;@GerryIsHere&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The only difference between those functions are the validations that &lt;EM&gt;&lt;FONT color="#808080"&gt;matchesPhrase&lt;/FONT&gt; &lt;/EM&gt;realizes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cesarsaravia_0-1710967005996.png" style="width: 606px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18426i706FD59582D340D9/image-dimensions/606x147?v=v2" width="606" height="147" role="button" title="cesarsaravia_0-1710967005996.png" alt="cesarsaravia_0-1710967005996.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Tried to replicate your scenario with the same data, and in both cases the result is the same.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cesarsaravia_1-1710967134116.png" style="width: 674px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18427i0357EC8249A7057D/image-dimensions/674x277?v=v2" width="674" height="277" role="button" title="cesarsaravia_1-1710967134116.png" alt="cesarsaravia_1-1710967134116.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you get us more context?&lt;BR /&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 20:40:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/why-do-matchesValue-and-matchesPhrase-give-different-results-in/m-p/240610#M746</guid>
      <dc:creator>cesarsaravia</dc:creator>
      <dc:date>2024-03-20T20:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: why do matchesValue and matchesPhrase give different results in this case?</title>
      <link>https://community.dynatrace.com/t5/DQL/why-do-matchesValue-and-matchesPhrase-give-different-results-in/m-p/240611#M747</link>
      <description>&lt;P&gt;the logs are from WebLogic servers, I think there is 1-2 million logs a day. If I run the queries just counting the number of logs matchesPhrase finds way fewer logs. The host.names are exactly as shown.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 20:44:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/why-do-matchesValue-and-matchesPhrase-give-different-results-in/m-p/240611#M747</guid>
      <dc:creator>GerryIsHere</dc:creator>
      <dc:date>2024-03-20T20:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: why do matchesValue and matchesPhrase give different results in this case?</title>
      <link>https://community.dynatrace.com/t5/DQL/why-do-matchesValue-and-matchesPhrase-give-different-results-in/m-p/240612#M748</link>
      <description>&lt;P&gt;doesn't support mid-string wildcards, except some of the time when it does apparently!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 20:45:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/why-do-matchesValue-and-matchesPhrase-give-different-results-in/m-p/240612#M748</guid>
      <dc:creator>GerryIsHere</dc:creator>
      <dc:date>2024-03-20T20:45:20Z</dc:date>
    </item>
  </channel>
</rss>

