<?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: How do you drop Logs completely with Syslog-NG from particular sources? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233233#M45503</link>
    <description>&lt;P&gt;Sure! (I've included a link in my earlier reply, but it seems it was moderated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;BR /&gt;
The following log statement drops all debug level messages without any further processing.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;filter demo_debugfilter { level(debug); };
log { source(s_all); filter(demo_debugfilter); flags(final); };
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 23 Sep 2015 14:29:19 GMT</pubDate>
    <dc:creator>frobert</dc:creator>
    <dc:date>2015-09-23T14:29:19Z</dc:date>
    <item>
      <title>How do you drop Logs completely with Syslog-NG from particular sources?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233229#M45499</link>
      <description>&lt;P&gt;With Syslog-NG how do you drop logs completely. I know how to create filters and what not but I don't know how to set the destination to drop completely.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 16:58:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233229#M45499</guid>
      <dc:creator>briant97</dc:creator>
      <dc:date>2015-09-22T16:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do you drop Logs completely with Syslog-NG from particular sources?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233230#M45500</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;Create a log path that does not have a destination, just a source, a filter (that matches the messages you want to drop), and the final flag.&lt;BR /&gt;
 For details, see the &lt;A href="https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/example-dropping-messages.html"&gt;syslog-ng Administrator Guide&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;/P&gt;

&lt;P&gt;Robert Fekete&lt;BR /&gt;
syslog-ng documentation maintainer&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 17:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233230#M45500</guid>
      <dc:creator>frobert</dc:creator>
      <dc:date>2015-09-22T17:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do you drop Logs completely with Syslog-NG from particular sources?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233231#M45501</link>
      <description>&lt;P&gt;Can you show an example for future reference for others that may be wanting to do the same thing.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 14:25:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233231#M45501</guid>
      <dc:creator>briant97</dc:creator>
      <dc:date>2015-09-23T14:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do you drop Logs completely with Syslog-NG from particular sources?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233232#M45502</link>
      <description>&lt;P&gt;Can you show an example of this just for others that may want to reference in the future.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 14:26:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233232#M45502</guid>
      <dc:creator>briant97</dc:creator>
      <dc:date>2015-09-23T14:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do you drop Logs completely with Syslog-NG from particular sources?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233233#M45503</link>
      <description>&lt;P&gt;Sure! (I've included a link in my earlier reply, but it seems it was moderated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;BR /&gt;
The following log statement drops all debug level messages without any further processing.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;filter demo_debugfilter { level(debug); };
log { source(s_all); filter(demo_debugfilter); flags(final); };
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Sep 2015 14:29:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233233#M45503</guid>
      <dc:creator>frobert</dc:creator>
      <dc:date>2015-09-23T14:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do you drop Logs completely with Syslog-NG from particular sources?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233234#M45504</link>
      <description>&lt;P&gt;filter f_new_networkdevices { netmask(192.168.2.1/32) or netmask(192.168.2.2/32); };&lt;BR /&gt;
log { source(s_tcp_remote); filter(f_new_networkdevices); flags(final); }; #logs to no where without a destination&lt;BR /&gt;
log { source(s_udp_remote); filter(f_new_networkdevices); flags(final); }; #logs to no where without a destination&lt;/P&gt;

&lt;P&gt;I want to completely drop logs from these ips for now.  &lt;/P&gt;

&lt;P&gt;This is not working for me it is still logging.  &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:19:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-drop-Logs-completely-with-Syslog-NG-from-particular/m-p/233234#M45504</guid>
      <dc:creator>briant97</dc:creator>
      <dc:date>2020-09-29T07:19:52Z</dc:date>
    </item>
  </channel>
</rss>

