<?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 to send events to nullque? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-send-events-to-nullque/m-p/470133#M132289</link>
    <description>&lt;P&gt;You can eliminate unwanted data by routing it to the nullQueue and it is removed before indexing with a combination of props and tranforms .conf like below:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[web_logs]
TRANSFORMS-removeIP= exclude
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[exclude]
REGEX = src_ip=\d{2}\.\d{1}\.\d{1}\.\d{1}\/8$
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For methods to keep segments of the data and discard the rest, please the docs here:&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/Forwarding/Routeandfilterdatad"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2020 09:51:21 GMT</pubDate>
    <dc:creator>mguhad</dc:creator>
    <dc:date>2020-02-11T09:51:21Z</dc:date>
    <item>
      <title>how to send events to nullque?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-send-events-to-nullque/m-p/470132#M132288</link>
      <description>&lt;P&gt;Hi, how to exclude internal source IP events for a sourcetype (web_logs) with src_ip=10.0.0.0/8 before indexing.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:09:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-send-events-to-nullque/m-p/470132#M132288</guid>
      <dc:creator>knalla</dc:creator>
      <dc:date>2020-09-30T04:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to send events to nullque?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-send-events-to-nullque/m-p/470133#M132289</link>
      <description>&lt;P&gt;You can eliminate unwanted data by routing it to the nullQueue and it is removed before indexing with a combination of props and tranforms .conf like below:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[web_logs]
TRANSFORMS-removeIP= exclude
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[exclude]
REGEX = src_ip=\d{2}\.\d{1}\.\d{1}\.\d{1}\/8$
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For methods to keep segments of the data and discard the rest, please the docs here:&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/Forwarding/Routeandfilterdatad"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 09:51:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-send-events-to-nullque/m-p/470133#M132289</guid>
      <dc:creator>mguhad</dc:creator>
      <dc:date>2020-02-11T09:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to send events to nullque?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-send-events-to-nullque/m-p/470134#M132290</link>
      <description>&lt;P&gt;You can actually save some licensing too, just by blacklisting the field, along with it's value in inputs.conf itself.&lt;/P&gt;

&lt;P&gt;blacklist = src_ip = 10.0.0.0/8&lt;/P&gt;

&lt;P&gt;Else, routing the data to null queue, as explained by @mguhad, will work too. I find blacklisting the data to be more helpful, when i know I don't need a portion of data at all. Why even bother to ingest it, when it has no use.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 21:56:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-send-events-to-nullque/m-p/470134#M132290</guid>
      <dc:creator>shivanshu1593</dc:creator>
      <dc:date>2020-05-22T21:56:25Z</dc:date>
    </item>
  </channel>
</rss>

