<?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: Help filtering data to nullQueue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497616#M84869</link>
    <description>&lt;P&gt;Hi @johnward4,&lt;BR /&gt;
two questions:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;where are you executing this filter? you can do it only on Indexers or (when present) on Heavy Forwarders;&lt;/LI&gt;
&lt;LI&gt;what's "applicationone:log" that you use in the stanza's title in props.conf? usually it's used sourcetype (better) or host or source.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2019 07:52:25 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-12-06T07:52:25Z</dc:date>
    <item>
      <title>Help filtering data to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497610#M84863</link>
      <description>&lt;P&gt;I'm trying to filter out unwanted data but it's not working using my current stanzas in props &amp;amp; transforms.  However, I was able to filter using the regex and reset the sourcetype so that should rule out an issue with the regex I'm attempting to use..&lt;/P&gt;

&lt;P&gt;sample_log for applicationone :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-12-03 00:59:57,812  stdout INFO [ajp-/0.0.0.0:8009-16]: Hibernate: select sample.SAMPLE_ID as SAMPLE_ID1_5_, SAMPLE0_.sample_DESCRIPTION as sample_DESCRIPTI2_5_ from sample_SAMPLE functional0_ 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[applicationone:log]
TRANSFORMS-sendtonull = removeDBqueries
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[removeDBqueries]
REGEX = select\s+.*)
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Dec 2019 21:15:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497610#M84863</guid>
      <dc:creator>johnward4</dc:creator>
      <dc:date>2019-12-05T21:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help filtering data to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497611#M84864</link>
      <description>&lt;P&gt;Can you please remove bracket from REGEX and check ? Like &lt;CODE&gt;REGEX = select\s+.*&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 21:31:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497611#M84864</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-12-05T21:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help filtering data to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497612#M84865</link>
      <description>&lt;P&gt;@harsmarvania57 I tried that and it still isn't working.  Could it be a problem with the sourcetype I using, does it need to be applied to _raw log data?  &lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 21:46:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497612#M84865</guid>
      <dc:creator>johnward4</dc:creator>
      <dc:date>2019-12-05T21:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help filtering data to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497613#M84866</link>
      <description>&lt;P&gt;Sourcetype should work, and that REGEX will apply to _raw. Have you restarted splunk after changing config? Additionally only new data will go to nullQueue based on REGEX match, old data will stay.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 21:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497613#M84866</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-12-05T21:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help filtering data to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497614#M84867</link>
      <description>&lt;P&gt;Can you please confirm on which instance you have applied above configuration ? It must be on Indexer or Heavy Forwarder, whichever comes first from Universal Forwarder.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 22:07:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497614#M84867</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-12-05T22:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help filtering data to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497615#M84868</link>
      <description>&lt;P&gt;I'm trying this on a single test instance.  After I make a change to my configs, I delete the data from the index and restart the instance.  I then upload the data again to apply my updated configs against it.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 22:34:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497615#M84868</guid>
      <dc:creator>johnward4</dc:creator>
      <dc:date>2019-12-05T22:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help filtering data to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497616#M84869</link>
      <description>&lt;P&gt;Hi @johnward4,&lt;BR /&gt;
two questions:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;where are you executing this filter? you can do it only on Indexers or (when present) on Heavy Forwarders;&lt;/LI&gt;
&lt;LI&gt;what's "applicationone:log" that you use in the stanza's title in props.conf? usually it's used sourcetype (better) or host or source.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 07:52:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497616#M84869</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-12-06T07:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help filtering data to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497617#M84870</link>
      <description>&lt;P&gt;Right now, I'm building the add-on in my single instance test environment. &lt;/P&gt;

&lt;P&gt;"applicationone:log" is the name I picked for the data sourcetype.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 15:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497617#M84870</guid>
      <dc:creator>johnward4</dc:creator>
      <dc:date>2019-12-06T15:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help filtering data to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497618#M84871</link>
      <description>&lt;P&gt;Fix this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; REGEX = select\s+.*\)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Dec 2019 21:20:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497618#M84871</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-12-06T21:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help filtering data to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497619#M84872</link>
      <description>&lt;P&gt;there was an issue with my REGEX.  This did the trick: &lt;/P&gt;

&lt;P&gt;REGEX = (SELECT|Select|select)\s+&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2019 21:29:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-filtering-data-to-nullQueue/m-p/497619#M84872</guid>
      <dc:creator>johnward4</dc:creator>
      <dc:date>2019-12-08T21:29:47Z</dc:date>
    </item>
  </channel>
</rss>

