<?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 Unable to nullqueue unnecessary lines without a date in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430642#M123103</link>
    <description>&lt;P&gt;I have two lines of events that are unnecessary because there is no date and would like to null queue these out.  I have tried several REGEX statements ( I have tried  &lt;CODE&gt;^\s+(\&amp;lt;\/ns2:Subject.*\&amp;gt;), &amp;lt;\/ns2:.*\&amp;gt;&lt;/CODE&gt;, and  to name a few)  to delete these events. The Field Extraction GUI and REGEX online tester show a match. However, these events still show up in the search. &lt;BR /&gt;
The data which needs to be deleted are as follows:&lt;BR /&gt;
(Please note there are spaces showing before the events and they are on separate lines)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;/ns2:Subject&amp;gt;
       &amp;lt;/ns2:SubjectConfirmation&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[TrashEmptySubject]
REGEX = ^\s+(\&amp;lt;\/ns2:Subject.*\&amp;gt;)
DEST_KEY = queue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[smtrace]
TRANSFORMS-null = TrashEmptySubject
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 20 Jun 2019 20:51:10 GMT</pubDate>
    <dc:creator>babcolee</dc:creator>
    <dc:date>2019-06-20T20:51:10Z</dc:date>
    <item>
      <title>Unable to nullqueue unnecessary lines without a date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430642#M123103</link>
      <description>&lt;P&gt;I have two lines of events that are unnecessary because there is no date and would like to null queue these out.  I have tried several REGEX statements ( I have tried  &lt;CODE&gt;^\s+(\&amp;lt;\/ns2:Subject.*\&amp;gt;), &amp;lt;\/ns2:.*\&amp;gt;&lt;/CODE&gt;, and  to name a few)  to delete these events. The Field Extraction GUI and REGEX online tester show a match. However, these events still show up in the search. &lt;BR /&gt;
The data which needs to be deleted are as follows:&lt;BR /&gt;
(Please note there are spaces showing before the events and they are on separate lines)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;/ns2:Subject&amp;gt;
       &amp;lt;/ns2:SubjectConfirmation&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[TrashEmptySubject]
REGEX = ^\s+(\&amp;lt;\/ns2:Subject.*\&amp;gt;)
DEST_KEY = queue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[smtrace]
TRANSFORMS-null = TrashEmptySubject
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Jun 2019 20:51:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430642#M123103</guid>
      <dc:creator>babcolee</dc:creator>
      <dc:date>2019-06-20T20:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to nullqueue unnecessary lines without a date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430643#M123104</link>
      <description>&lt;P&gt;add FORMAT = nullQueue to transforms.conf, instead of props.conf&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 21:52:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430643#M123104</guid>
      <dc:creator>pruthvikrishnap</dc:creator>
      <dc:date>2019-06-20T21:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to nullqueue unnecessary lines without a date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430644#M123105</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[smtrace]
TRANSFORMS-null = TrashEmptySubject
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[TrashEmptySubject]
REGEX = [\r\n\s]+&amp;lt;\/ns2:Subject[^&amp;gt;]+&amp;gt;
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Jun 2019 23:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430644#M123105</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-06-20T23:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to nullqueue unnecessary lines without a date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430645#M123106</link>
      <description>&lt;P&gt;Thank you for your responses. Unfortunately, the events are still showing when I do a search after applying  this REGEX&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 13:17:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430645#M123106</guid>
      <dc:creator>babcolee</dc:creator>
      <dc:date>2019-06-21T13:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to nullqueue unnecessary lines without a date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430646#M123107</link>
      <description>&lt;P&gt;If you are doing a sourcetype override/overwrite, you must use the ORIGINAL value NOT the new value, then you must deploy this to the first full instance(s) of Splunk that handles the events (usually either the HF-tier, if you use this, or your Indexer tier), restart all Splunk instances there, send in new events (old events will stay broken), then test using &lt;CODE&gt;_index_earliest=-5m&lt;/CODE&gt; to be absolutely certain that you are only examining the newly indexed events.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2019 19:59:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430646#M123107</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-06-22T19:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to nullqueue unnecessary lines without a date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430647#M123108</link>
      <description>&lt;P&gt;Thank you for the help. We are not doing any sourcetype overide. We are getting these events directly from a forwarder, passing through one of two HF's (not being indexed), ultimately landing on a Splunk instance which is both search head / indexer. I have edited both the HF's and  search head / indexer with these stanzas and we are still seeing these type of events.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 16:24:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430647#M123108</guid>
      <dc:creator>babcolee</dc:creator>
      <dc:date>2019-06-24T16:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to nullqueue unnecessary lines without a date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430648#M123109</link>
      <description>&lt;P&gt;My answer definitely should work.  Did you notice that you had a line in props.conf that should be in transforms.conf?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 17:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430648#M123109</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-06-24T17:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to nullqueue unnecessary lines without a date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430649#M123110</link>
      <description>&lt;P&gt;Here are my configurations:&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[smtrace]&lt;BR /&gt;
TRANSFORMS-null = TrashEmptySubject&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[TrashEmptySubject]&lt;BR /&gt;
REGEX = [\r\n\s]+&amp;lt;\/ns2:Subject[^&amp;gt;]+&amp;gt;&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 17:45:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-nullqueue-unnecessary-lines-without-a-date/m-p/430649#M123110</guid>
      <dc:creator>babcolee</dc:creator>
      <dc:date>2019-06-24T17:45:51Z</dc:date>
    </item>
  </channel>
</rss>

