<?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 Exclude word in log injection rules in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/234976#M291</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;is there a way to exclude word when making a log ingest rules for a host?&lt;/P&gt;
&lt;P&gt;For example, I want to include in Storage logs that match "/health/ready" but doens't have "StatusCode: 200".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can i write a not matching expression?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2024 15:04:16 GMT</pubDate>
    <dc:creator>alex94</dc:creator>
    <dc:date>2024-01-23T15:04:16Z</dc:date>
    <item>
      <title>Exclude word in log injection rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/234976#M291</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;is there a way to exclude word when making a log ingest rules for a host?&lt;/P&gt;
&lt;P&gt;For example, I want to include in Storage logs that match "/health/ready" but doens't have "StatusCode: 200".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can i write a not matching expression?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 15:04:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/234976#M291</guid>
      <dc:creator>alex94</dc:creator>
      <dc:date>2024-01-23T15:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: exclude word in log injection rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/234985#M292</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are only 2 options:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;If no wildcard is used in the value, then the matcher looks for an exact fit to the value. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;If a wildcard is used, the matcher looks for the exact match. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;For example, the value&amp;nbsp;INFO&amp;nbsp;results in sending only the log data having the exact&amp;nbsp;INFO&amp;nbsp;string, but the value&amp;nbsp;*INFO*&amp;nbsp;(using the wildcards) matches log data that contain the&amp;nbsp;INFO&amp;nbsp;string in its content.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 15:22:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/234985#M292</guid>
      <dc:creator>Pawel_Zalewski</dc:creator>
      <dc:date>2024-01-20T15:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: exclude word in log injection rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/235010#M293</link>
      <description>&lt;P&gt;Can I suggest to use 2 rules?&amp;nbsp;&lt;BR /&gt;1st rule should exclude&amp;nbsp;&lt;SPAN&gt;StatusCode: 200&lt;/SPAN&gt;&lt;BR /&gt;2nd rule should include&amp;nbsp;&lt;SPAN&gt;/health/ready&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 07:22:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/235010#M293</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-01-22T07:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: exclude word in log injection rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/235091#M294</link>
      <description>&lt;P&gt;Thank you for the info!&lt;/P&gt;&lt;P&gt;We are new to Dynatrace and I am currently looking at the different possibilities of ingest rules to make sure we don't keep useless logs because we have a lot of them.&lt;/P&gt;&lt;P&gt;I wanted to know if that was possible to do it with one rules, but i can for sure do it with multiple rules using include and exclude.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 13:12:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/235091#M294</guid>
      <dc:creator>alex94</dc:creator>
      <dc:date>2024-01-22T13:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: exclude word in log injection rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/235093#M295</link>
      <description>&lt;P&gt;As far as I know, it is not possible to use a single rule.&lt;BR /&gt;Note that rules are evaluated from top to bottom, which means that exclusion must come before inclusion.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 13:15:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Exclude-word-in-log-injection-rules/m-p/235093#M295</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-01-22T13:15:23Z</dc:date>
    </item>
  </channel>
</rss>

