<?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 New Log View Bug in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/New-Log-View-Bug/m-p/252990#M9</link>
    <description>&lt;P&gt;Staff has provided feedback reporting a bug in the new Log View. When a user leverages two of the same filter variables with different conditions, the underlying DQL query is showing as OR but the OR logic.... (my logic)... Isn't being followed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Overview of the Log filter:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_0-1723148124450.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21696i9B6B42D54303F0B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_0-1723148124450.png" alt="ChadTurner_0-1723148124450.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You'll notice we are calling logs for a give host, AND logs sources that DO NOT INCLUDE CO***** -OR- DO NOT INCLUDE Var/Log/Messages. The expected result would be removal of the entries showing in yellow and purple.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Posting the query to a notebook gives you the DQL:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_1-1723148313335.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21697i04668C77BB2205A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_1-1723148313335.png" alt="ChadTurner_1-1723148313335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My logic... which might be flawed.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;| filter startsWith(host.name, "&amp;lt;VALUE&amp;gt;")&lt;BR /&gt;| filter NOT contains(log.source, "co****") OR NOT contains(log.source, "/var/log/messages")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;My understanding is the first line goes to the second line as an AND, meaning that both have to be present. No we get to the second line: OR statement where&amp;nbsp;"co****" OR "/var/log/messages".... but that OR.. seems to have the logic of AND, where the log.source name does not contain co**** AND "Var/log/messages" which would never exist hence the filtering failed.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It's possible my logic is flawed, because we get the desired result when it formulates the DQL as a AND....&amp;nbsp;&lt;/P&gt;&lt;P&gt;A synopsis of this is, then using the new log preview, the selector leverages an "OR" in the statement, when the DQL Query will natively work if "OR" is replaced with "AND"&lt;/P&gt;&lt;P&gt;I hope this helps and I didn't confuse everyone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 20:39:51 GMT</pubDate>
    <dc:creator>ChadTurner</dc:creator>
    <dc:date>2024-08-08T20:39:51Z</dc:date>
    <item>
      <title>New Log View Bug</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/New-Log-View-Bug/m-p/252990#M9</link>
      <description>&lt;P&gt;Staff has provided feedback reporting a bug in the new Log View. When a user leverages two of the same filter variables with different conditions, the underlying DQL query is showing as OR but the OR logic.... (my logic)... Isn't being followed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Overview of the Log filter:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_0-1723148124450.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21696i9B6B42D54303F0B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_0-1723148124450.png" alt="ChadTurner_0-1723148124450.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You'll notice we are calling logs for a give host, AND logs sources that DO NOT INCLUDE CO***** -OR- DO NOT INCLUDE Var/Log/Messages. The expected result would be removal of the entries showing in yellow and purple.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Posting the query to a notebook gives you the DQL:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_1-1723148313335.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21697i04668C77BB2205A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_1-1723148313335.png" alt="ChadTurner_1-1723148313335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My logic... which might be flawed.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;| filter startsWith(host.name, "&amp;lt;VALUE&amp;gt;")&lt;BR /&gt;| filter NOT contains(log.source, "co****") OR NOT contains(log.source, "/var/log/messages")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;My understanding is the first line goes to the second line as an AND, meaning that both have to be present. No we get to the second line: OR statement where&amp;nbsp;"co****" OR "/var/log/messages".... but that OR.. seems to have the logic of AND, where the log.source name does not contain co**** AND "Var/log/messages" which would never exist hence the filtering failed.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It's possible my logic is flawed, because we get the desired result when it formulates the DQL as a AND....&amp;nbsp;&lt;/P&gt;&lt;P&gt;A synopsis of this is, then using the new log preview, the selector leverages an "OR" in the statement, when the DQL Query will natively work if "OR" is replaced with "AND"&lt;/P&gt;&lt;P&gt;I hope this helps and I didn't confuse everyone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 20:39:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/New-Log-View-Bug/m-p/252990#M9</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2024-08-08T20:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: New Log View Bug</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/New-Log-View-Bug/m-p/287012#M1467</link>
      <description>&lt;P&gt;Updates since writing this outlines that converting over to DQL shows each block listed as "AND" and not "OR"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_0-1759174650814.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30295i8525419371E2C661/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChadTurner_0-1759174650814.png" alt="ChadTurner_0-1759174650814.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 19:38:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/New-Log-View-Bug/m-p/287012#M1467</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2025-09-29T19:38:12Z</dc:date>
    </item>
  </channel>
</rss>

