<?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: filtering off events based based on ip address in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46158#M8696</link>
    <description>&lt;P&gt;If the instance monitoring the log is not a light-weight forwarder, then all transforms should be done there. In such a case your config will have no effect on the indexer.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2011 09:00:53 GMT</pubDate>
    <dc:creator>IgorB</dc:creator>
    <dc:date>2011-04-22T09:00:53Z</dc:date>
    <item>
      <title>filtering off events based based on ip address</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46152#M8690</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to filter off ip address on our splunk server based on the source - C:\http server\logs\web-access.log&lt;/P&gt;

&lt;P&gt;A sample of the event looks like this:&lt;BR /&gt;
&lt;CODE&gt;192.168.1.15 - - [17/Feb/2011:18:13:34 +0800] "GET /" 200 8146&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;And my configuration:&lt;BR /&gt;
&lt;CODE&gt;
props.conf&lt;BR /&gt;
[source::C:\\http server\\logs\\web-access.log]&lt;BR /&gt;
TRANSFORMS-null = sendnull&lt;/CODE&gt;  &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;
transforms.conf&lt;BR /&gt;
[sendnull]&lt;BR /&gt;
REGEX = 192\.168\.1\.15&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I still see events from 192.168.1.15 coming in.Any idea?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 18:19:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46152#M8690</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2011-02-17T18:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: filtering off events based based on ip address</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46153#M8691</link>
      <description>&lt;P&gt;Stanza name in props.conf is incorrect: you've got to prepend it with "source::".&lt;/P&gt;

&lt;P&gt;See &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Propsconf" rel="nofollow"&gt;props.conf&lt;/A&gt; spec for more info &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;spec&amp;gt;]
* This stanza enables properties for a given &amp;lt;spec&amp;gt;. 
* A props.conf file can contain multiple stanzas for any number of different &amp;lt;spec&amp;gt;.
* Follow this stanza name with any number of the following attribute/value pairs.
* If you do not set an attribute for a given &amp;lt;spec&amp;gt;, the default is used.

&amp;lt;spec&amp;gt; can be:
1. &amp;lt;sourcetype&amp;gt;, the source type of an event.
2. host::&amp;lt;host&amp;gt;, where &amp;lt;host&amp;gt; is the host for an event.
3. source::&amp;lt;source&amp;gt;, where &amp;lt;source&amp;gt; is the source for an event.
[...]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Feb 2011 19:36:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46153#M8691</guid>
      <dc:creator>IgorB</dc:creator>
      <dc:date>2011-02-17T19:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: filtering off events based based on ip address</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46154#M8692</link>
      <description>&lt;P&gt;The file path should be "C:\http server\logs\web-access.log". There's a space between "http" and "server". I've amended my post.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:54:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46154#M8692</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2011-02-18T10:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: filtering off events based based on ip address</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46155#M8693</link>
      <description>&lt;P&gt;I've also tried to specify this in the stanza name in props.conf:&lt;BR /&gt;
[source::C:\http server\logs\web-access.log]..but not working..Could it be due to the space between http and server?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:57:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46155#M8693</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2011-02-18T10:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: filtering off events based based on ip address</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46156#M8694</link>
      <description>&lt;P&gt;also to mention,my splunk server is receiving events from the web server,where splunk is installed as a forwarder and configured to read apache log files locally before forwarding them.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2011 11:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46156#M8694</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2011-02-18T11:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: filtering off events based based on ip address</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46157#M8695</link>
      <description>&lt;P&gt;any idea what's wrong with my config?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2011 15:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46157#M8695</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2011-02-21T15:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: filtering off events based based on ip address</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46158#M8696</link>
      <description>&lt;P&gt;If the instance monitoring the log is not a light-weight forwarder, then all transforms should be done there. In such a case your config will have no effect on the indexer.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2011 09:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-off-events-based-based-on-ip-address/m-p/46158#M8696</guid>
      <dc:creator>IgorB</dc:creator>
      <dc:date>2011-04-22T09:00:53Z</dc:date>
    </item>
  </channel>
</rss>

