<?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 exclude all lines with INFO or WARN from being indexed? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411912#M72923</link>
    <description>&lt;P&gt;yes correct&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 17:18:58 GMT</pubDate>
    <dc:creator>lakshman239</dc:creator>
    <dc:date>2019-02-28T17:18:58Z</dc:date>
    <item>
      <title>How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411906#M72917</link>
      <description>&lt;P&gt;I have been reading through a lot of the previous answers to exclusion, but none match what I need.  I need to exclude all INFO and WARN lines from one of my indexes, so that they are never processed.  Only the ERROR lines should be processed.  &lt;/P&gt;

&lt;P&gt;I have this so far, but I'm not certain of a couple of things.  One what should I have in the props file to complete it and two, do I need the &lt;CODE&gt;&lt;/CODE&gt; in the transforms.conf file:&lt;/P&gt;

&lt;P&gt;PROPS.CONF&lt;/P&gt;

&lt;P&gt;TRANSFORMS-set = setnull, setparsing&lt;/P&gt;

&lt;P&gt;TRANSFORMS.CONF&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;code&amp;gt;[setnull]
REGEX = INFO, WARN
DEST_KEY = queue
FORMAT = nullQueue
&amp;lt;/code&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Feb 2019 15:54:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411906#M72917</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-02-28T15:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411907#M72918</link>
      <description>&lt;P&gt;There were some code lines surrounding the transforms lines, those were what I was asking about&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 15:57:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411907#M72918</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-02-28T15:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411908#M72919</link>
      <description>&lt;P&gt;You need configs in both props.conf and transforms.conf. The following sends events with only ERROR to your indexer.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PROPS.CONF
[your_sourcetype]
TRANSFORMS-set = setnull, setparsing

TRANSFORMS.CONF

[setnull] 
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue 

[setparsing]
REGEX = ERROR
DEST_KEY = queue
FORMAT = indexQueue 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Feb 2019 16:01:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411908#M72919</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-02-28T16:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411909#M72920</link>
      <description>&lt;P&gt;What if there are multiple source types?  I wanted to exclude those lines for the entire index which was created for this customer and they have multiple sourcetypes.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 16:08:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411909#M72920</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-02-28T16:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411910#M72921</link>
      <description>&lt;P&gt;for each sourcetype, you need to have the same settings&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_sourcetype1]
TRANSFORMS-set = setnull, setparsing

[your_souretype2]
TRANSFORMS-set = setnull, setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, you just need one setting for transforms, as provided earlier.&lt;/P&gt;

&lt;P&gt;After updating, you need to restart your indexer, so any new data will have these filtering applied.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 16:21:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411910#M72921</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-02-28T16:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411911#M72922</link>
      <description>&lt;P&gt;So, If I'm understanding this correctly, I would do something like the following:&lt;BR /&gt;
 PROPS.CONF&lt;/P&gt;

&lt;P&gt;[value1-logs]&lt;BR /&gt;
 TRANSFORMS-set = setnull, setparsing&lt;/P&gt;

&lt;P&gt;[value2-logs]&lt;BR /&gt;
 TRANSFORMS-set = setnull, setparsing&lt;/P&gt;

&lt;P&gt;TRANSFORMS.CONF&lt;/P&gt;

&lt;P&gt;[setnull] &lt;BR /&gt;
 REGEX = .&lt;BR /&gt;
 DEST_KEY = queue&lt;BR /&gt;
 FORMAT = nullQueue &lt;/P&gt;

&lt;P&gt;[setparsing]&lt;BR /&gt;
 REGEX = ERROR&lt;BR /&gt;
 DEST_KEY = queue&lt;BR /&gt;
 FORMAT = indexQueue &lt;/P&gt;

&lt;P&gt;So that only lines with ERROR will show?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 17:16:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411911#M72922</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-02-28T17:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411912#M72923</link>
      <description>&lt;P&gt;yes correct&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 17:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411912#M72923</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-02-28T17:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411913#M72924</link>
      <description>&lt;P&gt;quick question.  the FORMAT key, should that be the name of the actual index in the transforms.conf file?  Or it that literal?  Asking because I still see the WARN and INFO logs coming in after pushing out the following:&lt;BR /&gt;
[my1-logs]&lt;BR /&gt;
TRANSFORMS-set = setnull, setparsing&lt;/P&gt;

&lt;P&gt;[my2-logs]&lt;BR /&gt;
TRANSFORMS-set = setnull, setparsing&lt;/P&gt;

&lt;P&gt;TRANSFORMS.CONF&lt;/P&gt;

&lt;P&gt;[setnull] &lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue &lt;/P&gt;

&lt;P&gt;[setparsing]&lt;BR /&gt;
REGEX = ERROR&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue &lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 18:57:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411913#M72924</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-02-28T18:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411914#M72925</link>
      <description>&lt;P&gt;its a literal.  Did you restart your indexer after the changes?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 19:10:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411914#M72925</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-02-28T19:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411915#M72926</link>
      <description>&lt;P&gt;we have clustered indexers and I pushed it our via the cluster master.  I believe it's supposed to restart them all&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 19:22:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411915#M72926</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-02-28T19:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411916#M72927</link>
      <description>&lt;P&gt;They have all been restarted, but it's still sending the INFO and WARN messages &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 21:43:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411916#M72927</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-02-28T21:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411917#M72928</link>
      <description>&lt;P&gt;Yes, I did a rolling restart, but am still seeing INFO and WARN which I wanted to block out and only get ERROR.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 14:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411917#M72928</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-03-01T14:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411918#M72929</link>
      <description>&lt;P&gt;I just realized I asked that comment on the wrong value.  It's the REGEX= .  Is that supposed to have a value of INFO,WARN?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 14:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411918#M72929</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-03-01T14:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411919#M72930</link>
      <description>&lt;P&gt;can you test the config in your dev with the above config?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 14:46:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411919#M72930</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-03-01T14:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411920#M72931</link>
      <description>&lt;P&gt;I am testing in my development environment and I get the same issue.  Nothing gets parched out, it's all still coming into the logs.  I will be working with my client in a little while to ensure the props and transforms made it to the servers (they are containers).&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 15:02:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411920#M72931</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-03-01T15:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411921#M72932</link>
      <description>&lt;P&gt;what do you want? do you want INFO and WARN OR ERROR? you can adjust them as per your needs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# This sends all events to be ignored
[setnull] 
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

# this says ignore all events, except the ones containing ERROR
[setparsing]
REGEX = ERROR
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2019 15:16:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411921#M72932</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-03-01T15:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411922#M72933</link>
      <description>&lt;P&gt;I just want the ERROR lines.  So I would want to eliminate INFO, WARN, etc that are not ERROR related.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 15:29:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411922#M72933</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-03-01T15:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude all lines with INFO or WARN from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411923#M72934</link>
      <description>&lt;P&gt;ok, I understand, so now I'll need to work with the client to see if everything is getting to the forwarders as needed.  I did verify that the props and transform files did make it to all the indexers and the indexer cluster members were all restarted.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 15:31:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-all-lines-with-INFO-or-WARN-from-being/m-p/411923#M72934</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2019-03-01T15:31:09Z</dc:date>
    </item>
  </channel>
</rss>

