<?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 Need to drop logs in Syslog-ng in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-drop-logs-in-Syslog-ng/m-p/581053#M102468</link>
    <description>&lt;P&gt;I wanted&amp;nbsp; to drop the log message in syslog-ng and i tried the below way to drop them but seems it doesn't work.&amp;nbsp; could you help if there is any other way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To skip the processing of a message without sending it to a destination, create a log statement with the appropriate filters, but do not include any destination in the statement, and use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;final&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;flag.&lt;/P&gt;&lt;DIV class=""&gt;&lt;H6&gt;Example: Skipping messages&lt;/H6&gt;&lt;P&gt;The following log statement drops all&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;debug&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;level messages without any further processing.&lt;/P&gt;&lt;PRE&gt;filter demo_debugfilter { level(debug); };
log { source(s_all); filter(demo_debugfilter); flags(final); };&lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 14 Jan 2022 08:29:11 GMT</pubDate>
    <dc:creator>AnilR87</dc:creator>
    <dc:date>2022-01-14T08:29:11Z</dc:date>
    <item>
      <title>Need to drop logs in Syslog-ng</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-drop-logs-in-Syslog-ng/m-p/581053#M102468</link>
      <description>&lt;P&gt;I wanted&amp;nbsp; to drop the log message in syslog-ng and i tried the below way to drop them but seems it doesn't work.&amp;nbsp; could you help if there is any other way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To skip the processing of a message without sending it to a destination, create a log statement with the appropriate filters, but do not include any destination in the statement, and use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;final&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;flag.&lt;/P&gt;&lt;DIV class=""&gt;&lt;H6&gt;Example: Skipping messages&lt;/H6&gt;&lt;P&gt;The following log statement drops all&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;debug&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;level messages without any further processing.&lt;/P&gt;&lt;PRE&gt;filter demo_debugfilter { level(debug); };
log { source(s_all); filter(demo_debugfilter); flags(final); };&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Jan 2022 08:29:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-drop-logs-in-Syslog-ng/m-p/581053#M102468</guid>
      <dc:creator>AnilR87</dc:creator>
      <dc:date>2022-01-14T08:29:11Z</dc:date>
    </item>
  </channel>
</rss>

