<?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/nullQueue Question in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126401#M26025</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Yes you are going about it in the wrong way - literally &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;You need to change the order in which the transforms are called from props.conf.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-sec = sec_nullqueue, sec_keepevents
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The transforming takes the events through &lt;EM&gt;all&lt;/EM&gt; transforms before returning them for further processing/indexing. Thus the &lt;CODE&gt;nullQueue&lt;/CODE&gt; must come first.&lt;/P&gt;

&lt;P&gt;lguinn might be right on the REGEX, though.&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
    <pubDate>Sat, 02 Nov 2013 00:14:03 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2013-11-02T00:14:03Z</dc:date>
    <item>
      <title>Filtering/nullQueue Question</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126399#M26023</link>
      <description>&lt;P&gt;I’m trying to get our AIX data into Splunk, but I’m having a filter/nullQueue issue.  I was wanting to keep certain events and nullQueue everything else.  Below is the props and transform.  Right now everything is going into the index.  Am I going about this the wrong way?  The filtering is done on a heavy forwarder.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;BR /&gt;
[AIX]&lt;BR /&gt;
TRANSFORMS-sec=sec_keepevent,sec_nullqueue&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;BR /&gt;
[sec_keepevent]&lt;BR /&gt;
REGEX = (sshd\[\d*\]:)|( su:)|( sudo:)|( failed:)&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[sec_nullqueue]&lt;BR /&gt;
REGEX = (.*)&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:10:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126399#M26023</guid>
      <dc:creator>kmcconnell</dc:creator>
      <dc:date>2020-09-28T15:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering/nullQueue Question</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126400#M26024</link>
      <description>&lt;P&gt;Try this for the regular expression in &lt;CODE&gt;seckeepevent&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;REGEX = (sshd\[\d*\]:|su:|sudo:|failed:)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2013 00:08:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126400#M26024</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-11-02T00:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering/nullQueue Question</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126401#M26025</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Yes you are going about it in the wrong way - literally &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;You need to change the order in which the transforms are called from props.conf.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-sec = sec_nullqueue, sec_keepevents
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The transforming takes the events through &lt;EM&gt;all&lt;/EM&gt; transforms before returning them for further processing/indexing. Thus the &lt;CODE&gt;nullQueue&lt;/CODE&gt; must come first.&lt;/P&gt;

&lt;P&gt;lguinn might be right on the REGEX, though.&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2013 00:14:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126401#M26025</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-11-02T00:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering/nullQueue Question</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126402#M26026</link>
      <description>&lt;P&gt;You might also want to take a look here;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings"&gt;http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;since with your current config, if it was in the right place, all events would be discarded. &lt;/P&gt;

&lt;P&gt;Also, these changes only apply to incoming traffic, it will not alter existing events in an index.&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2013 00:18:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126402#M26026</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-11-02T00:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering/nullQueue Question</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126403#M26027</link>
      <description>&lt;P&gt;And make sure that you're doing it under the correct props.conf stanza.  Anything under &lt;CODE&gt;[AIX]&lt;/CODE&gt; will only match if the sourcetype is called &lt;CODE&gt;AIX&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2013 00:22:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-nullQueue-Question/m-p/126403#M26027</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-11-02T00:22:14Z</dc:date>
    </item>
  </channel>
</rss>

