<?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 to Blacklist a Forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141310#M28952</link>
    <description>&lt;P&gt;Then I would really suggest fw rule, preferably on the network, but local will also work. Perhaps you should also look at the &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;acceptFrom = &amp;lt;network_acl&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;setting in inputs.conf where you define the forwarder connections (splunktcp:9997, or whatever port you're already listening to). From the docs on inputs.conf:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Entries can also be prefixed with '!' to cause the rule to reject the connection.  Rules are applied in order, and the first one to match is used. For example, "!10.1/16, *" will allow connections from everywhere except the 10.1.*.* network.&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2014 16:57:17 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2014-02-07T16:57:17Z</dc:date>
    <item>
      <title>How to blacklist a forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141304#M28946</link>
      <description>&lt;P&gt;I have a 250 forwarders in my environment. I have one server that no one can reach a solution on due to low priority. The box is killing my indexer with storage errors. I have no control over uninstalling the forwarder.&lt;/P&gt;
&lt;P&gt;I would like to blacklist this forwarder. Is this something that can be done and how?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 15:34:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141304#M28946</guid>
      <dc:creator>mad4wknds</dc:creator>
      <dc:date>2023-03-22T15:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141305#M28947</link>
      <description>&lt;P&gt;What version of splunk on the indexer?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 00:32:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141305#M28947</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2014-02-07T00:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141306#M28948</link>
      <description>&lt;P&gt;One thing that you can do immediately is to set up a regex transform on your indexer to remove the unwanted data. The example below will re-route &lt;EM&gt;all&lt;/EM&gt; data from that host to the trash can.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::your_host]
TRANSFORMS-remove_stuff = setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;NB: you can make a more selective filtering by writing a more specific regex, so that you actually get to keep those events that you like.&lt;/P&gt;

&lt;P&gt;Read more here;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/Data/Anonymizedatausingconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.1/Data/Anonymizedatausingconfigurationfiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 00:38:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141306#M28948</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-02-07T00:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141307#M28949</link>
      <description>&lt;P&gt;You could try something like this.  I'm pretty sure it will also drop &lt;CODE&gt;_internal&lt;/CODE&gt; logs because it is filtering by host.  Put these stanzas in the files on the indexer in &lt;CODE&gt;splunk\etc\system\local&lt;/CODE&gt;, and restart Splunk.  This will only affect new events.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::hostname]
TRANSFORMS-drop = drop_event
transforms.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[drop_event]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Feb 2014 00:40:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141307#M28949</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2014-02-07T00:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141308#M28950</link>
      <description>&lt;P&gt;Works great for the "Queue" but I need a total blackout meaning that it is still and blocking other queues.&lt;/P&gt;

&lt;P&gt;Thanks for the response.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:29:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141308#M28950</guid>
      <dc:creator>mad4wknds</dc:creator>
      <dc:date>2014-02-07T16:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141309#M28951</link>
      <description>&lt;P&gt;Not sure I understand.  This should drop everything from the host.  What is still getting indexed?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:56:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141309#M28951</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2014-02-07T16:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141310#M28952</link>
      <description>&lt;P&gt;Then I would really suggest fw rule, preferably on the network, but local will also work. Perhaps you should also look at the &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;acceptFrom = &amp;lt;network_acl&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;setting in inputs.conf where you define the forwarder connections (splunktcp:9997, or whatever port you're already listening to). From the docs on inputs.conf:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Entries can also be prefixed with '!' to cause the rule to reject the connection.  Rules are applied in order, and the first one to match is used. For example, "!10.1/16, *" will allow connections from everywhere except the 10.1.*.* network.&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141310#M28952</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-02-07T16:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141311#M28953</link>
      <description>&lt;P&gt;lukejadamec, well, regex transforms take place after linebreaking, timestamping etc, so if there is &lt;EM&gt;really&lt;/EM&gt; a lot of crap coming from the evil forwarder, it could affect the event processing... I guess.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:59:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141311#M28953</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-02-07T16:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141312#M28954</link>
      <description>&lt;P&gt;Thank you kristian.kolb the "acceptFrom" is the answer I was really looking for.&lt;/P&gt;

&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 17:09:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141312#M28954</guid>
      <dc:creator>mad4wknds</dc:creator>
      <dc:date>2014-02-07T17:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141313#M28955</link>
      <description>&lt;P&gt;You could deny all incoming connections from that host like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;iptables -A INPUT -s 1.2.3.4 -j DROP
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That's fairly invasive though, talk to your system or network administrators first.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 17:12:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141313#M28955</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-02-07T17:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141314#M28956</link>
      <description>&lt;P&gt;Kristian -- I just wanted to thank you for your suggestion to use acceptFrom in inputs.conf.  It was the only thing that finally worked for me to shut down traffic from some "rogue" forwarders.  Sending things to nullQueue via props.conf and transforms.conf has worked for me for other things, but I couldn't find any combination that would work for this.  Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 17:02:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/141314#M28956</guid>
      <dc:creator>teedilo</dc:creator>
      <dc:date>2015-03-04T17:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/635506#M108738</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6332"&gt;@kristian_kolb&lt;/a&gt;, If I create this in a specific app called e.g twistlock_parsing to remove events coming from host 127.0.0.1 only within a specific index e.g azure_twistlock - will this drop all events across all indexes containing that ip? I only want that IP address dropped in index azure_twistlock. I have already tried the solution from this page:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-host-hosts-is-sending-logs-to-Splunk-via-TCP/m-p/289283" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-host-hosts-is-sending-logs-to-Splunk-via-TCP/m-p/289283&lt;/A&gt;&amp;nbsp;and it didn't work&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 14:56:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-a-forwarder/m-p/635506#M108738</guid>
      <dc:creator>Tinza</dc:creator>
      <dc:date>2023-03-22T14:56:02Z</dc:date>
    </item>
  </channel>
</rss>

