<?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 How do I send events to nullqueue? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469507#M80772</link>
    <description>&lt;P&gt;I am currently ingesting AWS VPC Flow logs from our AWS tenant.  Most of the logs are internal traffic between ec2 instances.  I'd like to send these events to nullqueue as they are not much use to us, we are only concerned with inbound and outbound traffic to the VPC.  I think the best way to drop these events is to insert some regex into transforms.conf?  Could someone help with this?&lt;/P&gt;

&lt;P&gt;I wish to exclude events that have both srcaddr starting with 10.x and dstaddr starting with 10.x&lt;/P&gt;

&lt;P&gt;Any help would be appreciated &lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2019 09:42:39 GMT</pubDate>
    <dc:creator>stevenbutterwor</dc:creator>
    <dc:date>2019-08-30T09:42:39Z</dc:date>
    <item>
      <title>How do I send events to nullqueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469507#M80772</link>
      <description>&lt;P&gt;I am currently ingesting AWS VPC Flow logs from our AWS tenant.  Most of the logs are internal traffic between ec2 instances.  I'd like to send these events to nullqueue as they are not much use to us, we are only concerned with inbound and outbound traffic to the VPC.  I think the best way to drop these events is to insert some regex into transforms.conf?  Could someone help with this?&lt;/P&gt;

&lt;P&gt;I wish to exclude events that have both srcaddr starting with 10.x and dstaddr starting with 10.x&lt;/P&gt;

&lt;P&gt;Any help would be appreciated &lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 09:42:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469507#M80772</guid>
      <dc:creator>stevenbutterwor</dc:creator>
      <dc:date>2019-08-30T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send events to nullqueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469508#M80773</link>
      <description>&lt;P&gt;@stevenbutterworth You have to setup two files. props.conf and transforms.conf &lt;/P&gt;

&lt;P&gt;Please have a loot at the example below. &lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[srctype1]&lt;BR /&gt;
TRANSFORMS-set = setnull, logstoCapture&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[logstoCapture]&lt;BR /&gt;
REGEX = &lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&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;</description>
      <pubDate>Fri, 30 Aug 2019 09:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469508#M80773</guid>
      <dc:creator>sandyIscream</dc:creator>
      <dc:date>2019-08-30T09:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send events to nullqueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469509#M80774</link>
      <description>&lt;P&gt;Thanks for your answer - it's regex part I need help with&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 10:09:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469509#M80774</guid>
      <dc:creator>stevenbutterwor</dc:creator>
      <dc:date>2019-08-30T10:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send events to nullqueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469510#M80775</link>
      <description>&lt;P&gt;Could you please send the sample log file. Then I might be able to help you write the regex query &lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 10:10:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469510#M80775</guid>
      <dc:creator>sandyIscream</dc:creator>
      <dc:date>2019-08-30T10:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send events to nullqueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469511#M80776</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7616iEB2066BDC645D046/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I have attached an image.  The 2 field names are srcaddr and dstaddr.  It's when both of these start with 10 I want to send to nullQueue&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 12:06:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469511#M80776</guid>
      <dc:creator>stevenbutterwor</dc:creator>
      <dc:date>2019-08-30T12:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send events to nullqueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469512#M80777</link>
      <description>&lt;P&gt;You can try below RegEx.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = ^\d\s\d*\seni-\d{2}\s10\.\d{1,3}\.\d{1,3}\.\d{1,3}\s10\.\d{1,3}\.\d{1,3}\.\d{1,3}
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Aug 2019 13:28:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469512#M80777</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2019-08-30T13:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send events to nullqueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469513#M80778</link>
      <description>&lt;P&gt;try this regex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eni-\d{8}\s+10\d\.\d{1,3}\.\d{1,3}.\.\d{1,3}\s+10\d\.\d{1,3}\.\d{1,3}\.\d{1,3}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Aug 2019 13:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469513#M80778</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2019-08-30T13:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send events to nullqueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469514#M80779</link>
      <description>&lt;P&gt;@stevenbutterworth Did you try the regex that people have posted here ? If that helps then could you please accept the answer. &lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 02:16:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469514#M80779</guid>
      <dc:creator>sandyIscream</dc:creator>
      <dc:date>2019-09-03T02:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send events to nullqueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469515#M80780</link>
      <description>&lt;P&gt;The correct regex is as follows&lt;/P&gt;

&lt;P&gt;^\d\s\d*\seni-.*\s10.\d{1,3}.\d{1,3}.\d{1,3}\s10.\d{1,3}.\d{1,3}.\d{1,3} &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:03:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-send-events-to-nullqueue/m-p/469515#M80780</guid>
      <dc:creator>stevenbutterwor</dc:creator>
      <dc:date>2020-09-30T02:03:17Z</dc:date>
    </item>
  </channel>
</rss>

