<?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 Issues with applying blacklists on a light fowarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Issues-with-applying-blacklists-on-a-light-fowarder/m-p/183386#M36696</link>
    <description>&lt;P&gt;So I have a syslog-ng running and splunk running picking up everything under /var/log/syslog-ng/general/&lt;/P&gt;

&lt;P&gt;My regex skills are almost non existent.&lt;BR /&gt;
If there are a few hosts that I want to exclude (../general/-/-.log [a bad host] and ../general/1.1.1.1/1.1.1.1.log [a random IP Host I don't need] ) Am I best learning and coding some fancy regex code for this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blacklist=(/-/-)|(/--/--)|(/var/log/syslog-ng/general/1.1.1.1/1.1.1.1.log)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which I know does not work and is not even close due to the dots meaning something else.&lt;BR /&gt;
Can I code a monitor statement like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/syslog-ng/general/1.1.1.1/1.1.1.1.log]
blacklist=.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or is there an even easier/fool proof method I can use when some of the hosts are junk and need to be stopped? (apart from obviously getting the end user to stop sending me junk...)&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2014 10:11:39 GMT</pubDate>
    <dc:creator>Pierceyuk</dc:creator>
    <dc:date>2014-03-12T10:11:39Z</dc:date>
    <item>
      <title>Issues with applying blacklists on a light fowarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-with-applying-blacklists-on-a-light-fowarder/m-p/183386#M36696</link>
      <description>&lt;P&gt;So I have a syslog-ng running and splunk running picking up everything under /var/log/syslog-ng/general/&lt;/P&gt;

&lt;P&gt;My regex skills are almost non existent.&lt;BR /&gt;
If there are a few hosts that I want to exclude (../general/-/-.log [a bad host] and ../general/1.1.1.1/1.1.1.1.log [a random IP Host I don't need] ) Am I best learning and coding some fancy regex code for this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blacklist=(/-/-)|(/--/--)|(/var/log/syslog-ng/general/1.1.1.1/1.1.1.1.log)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which I know does not work and is not even close due to the dots meaning something else.&lt;BR /&gt;
Can I code a monitor statement like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/syslog-ng/general/1.1.1.1/1.1.1.1.log]
blacklist=.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or is there an even easier/fool proof method I can use when some of the hosts are junk and need to be stopped? (apart from obviously getting the end user to stop sending me junk...)&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2014 10:11:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-with-applying-blacklists-on-a-light-fowarder/m-p/183386#M36696</guid>
      <dc:creator>Pierceyuk</dc:creator>
      <dc:date>2014-03-12T10:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with applying blacklists on a light fowarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-with-applying-blacklists-on-a-light-fowarder/m-p/183387#M36697</link>
      <description>&lt;P&gt;Wat do you mean by stopping few hosts . you mean stopping Stopping syslog data from some unknown hosts ?? you can do that pretty well using transforms.conf configuration i.e applying filtering on the hostips&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2014 12:04:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-with-applying-blacklists-on-a-light-fowarder/m-p/183387#M36697</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2014-03-12T12:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with applying blacklists on a light fowarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-with-applying-blacklists-on-a-light-fowarder/m-p/183388#M36698</link>
      <description>&lt;P&gt;So I have 200+ hosts sending syslog to this box. Most is nicely formated and wanted. Some of it is junk data (hostname ="-") and some of it is pointless (host 1.1.1.1 sends a million events an hour all the same) I just want to do some quick filtering to say 'ignore this list of folders'&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2014 12:10:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-with-applying-blacklists-on-a-light-fowarder/m-p/183388#M36698</guid>
      <dc:creator>Pierceyuk</dc:creator>
      <dc:date>2014-03-12T12:10:52Z</dc:date>
    </item>
  </channel>
</rss>

