<?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: Prevent log events with specific text string from indexing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-log-events-with-specific-text-string-from-indexing/m-p/22860#M3575</link>
    <description>&lt;P&gt;According to the docs for props.conf, you can set global settings under the stanza called &lt;CODE&gt;default&lt;/CODE&gt; instead of a source/sourcetype/host.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
TRANSFORMS-who_did_it = dunno
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dunno]
REGEX = &amp;lt;insert your ip&amp;gt;
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have never done this (and to be honest, it sounds a bit like someone wanting to cover his/her tracks :), but I can't see why it shouldn't work.&lt;/P&gt;

&lt;P&gt;/Kristian&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2013 20:55:48 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2013-05-02T20:55:48Z</dc:date>
    <item>
      <title>Prevent log events with specific text string from indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-log-events-with-specific-text-string-from-indexing/m-p/22858#M3573</link>
      <description>&lt;P&gt;I've got a seemingly simple problem that I'm having a bit of difficulty on. I've been tasked with excluding log events containing a specific text string (in this case, an IP address) from being indexed in Splunk. I've done similar with sources such as Windows event logs (using props.conf and transforms.conf to send to nullQueue based on a regex), but the catch this time is that the event could come from any host, and be any sourcetype. Basically, "if &lt;EM&gt;any&lt;/EM&gt; event comes into Splunk with this text string, send it to nullQueue." Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2013 20:21:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-log-events-with-specific-text-string-from-indexing/m-p/22858#M3573</guid>
      <dc:creator>cwwirth</dc:creator>
      <dc:date>2013-05-02T20:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent log events with specific text string from indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-log-events-with-specific-text-string-from-indexing/m-p/22859#M3574</link>
      <description>&lt;P&gt;Just do as you've done previously, and make use of that you can use the &lt;CODE&gt;[default]&lt;/CODE&gt; stanza in props.conf to have transforms apply to all events.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2013 20:55:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-log-events-with-specific-text-string-from-indexing/m-p/22859#M3574</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-05-02T20:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent log events with specific text string from indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-log-events-with-specific-text-string-from-indexing/m-p/22860#M3575</link>
      <description>&lt;P&gt;According to the docs for props.conf, you can set global settings under the stanza called &lt;CODE&gt;default&lt;/CODE&gt; instead of a source/sourcetype/host.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
TRANSFORMS-who_did_it = dunno
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dunno]
REGEX = &amp;lt;insert your ip&amp;gt;
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have never done this (and to be honest, it sounds a bit like someone wanting to cover his/her tracks :), but I can't see why it shouldn't work.&lt;/P&gt;

&lt;P&gt;/Kristian&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2013 20:55:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-log-events-with-specific-text-string-from-indexing/m-p/22860#M3575</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-05-02T20:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent log events with specific text string from indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-log-events-with-specific-text-string-from-indexing/m-p/22861#M3576</link>
      <description>&lt;P&gt;Hello, You should be able to use the same method using your props.conf and transforms.conf.  Except this time you will define a your transfrom under default stanza in your props.conf.  The transform should be applied to all stanza in your props.conf.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
#props.conf&lt;BR /&gt;
[default]&lt;BR /&gt;
TRANSFORMS-remove_events = ipremove&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps or gets you started. Dont forget to vote up and accept answers.&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2013 20:56:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-log-events-with-specific-text-string-from-indexing/m-p/22861#M3576</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2013-05-02T20:56:30Z</dc:date>
    </item>
  </channel>
</rss>

