<?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 can I filter out HTTP 301 and 302 on a linux Heavy forwarder so that it doesn't forward those logs to the cloud indexer in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-filter-out-HTTP-301-and-302-on-a-linux-Heavy-forwarder/m-p/276737#M53071</link>
    <description>&lt;P&gt;Post some sample data and we can give you some working regex to go with it.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2016 18:55:54 GMT</pubDate>
    <dc:creator>michael_sleep</dc:creator>
    <dc:date>2016-07-22T18:55:54Z</dc:date>
    <item>
      <title>How can I filter out HTTP 301 and 302 on a linux Heavy forwarder so that it doesn't forward those logs to the cloud indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-filter-out-HTTP-301-and-302-on-a-linux-Heavy-forwarder/m-p/276734#M53068</link>
      <description>&lt;P&gt;I am new to Splunk and can see previous post for filtering out Security logs. Please would anyone be able to help with filtering out certain HTTP traffic?   &lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 10:00:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-filter-out-HTTP-301-and-302-on-a-linux-Heavy-forwarder/m-p/276734#M53068</guid>
      <dc:creator>eosi</dc:creator>
      <dc:date>2016-07-21T10:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I filter out HTTP 301 and 302 on a linux Heavy forwarder so that it doesn't forward those logs to the cloud indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-filter-out-HTTP-301-and-302-on-a-linux-Heavy-forwarder/m-p/276735#M53069</link>
      <description>&lt;P&gt;Read up on the basic tenchique here (it is pretty strightforward):&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.5/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.5/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 14:43:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-filter-out-HTTP-301-and-302-on-a-linux-Heavy-forwarder/m-p/276735#M53069</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-21T14:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I filter out HTTP 301 and 302 on a linux Heavy forwarder so that it doesn't forward those logs to the cloud indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-filter-out-HTTP-301-and-302-on-a-linux-Heavy-forwarder/m-p/276736#M53070</link>
      <description>&lt;P&gt;from the document, To discard specific events and keep the rest&lt;BR /&gt;
This example discards all sshd events in /var/log/messages by sending them to nullQueue:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;In props.conf, set the TRANSFORMS-null attribute:&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;[source::/var/log/messages]&lt;BR /&gt;
TRANSFORMS-null= setnull&lt;BR /&gt;
2. Create a corresponding stanza in transforms.conf. Set DEST_KEY to "queue" and FORMAT to "nullQueue":&lt;/P&gt;

&lt;P&gt;[setnull]&lt;BR /&gt;
REGEX = [sshd]&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;BR /&gt;
That does it.&lt;/P&gt;

&lt;P&gt;could you please update us the http error log and few 301 and 302 sample messages&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 07:00:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-filter-out-HTTP-301-and-302-on-a-linux-Heavy-forwarder/m-p/276736#M53070</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-07-22T07:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I filter out HTTP 301 and 302 on a linux Heavy forwarder so that it doesn't forward those logs to the cloud indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-filter-out-HTTP-301-and-302-on-a-linux-Heavy-forwarder/m-p/276737#M53071</link>
      <description>&lt;P&gt;Post some sample data and we can give you some working regex to go with it.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 18:55:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-filter-out-HTTP-301-and-302-on-a-linux-Heavy-forwarder/m-p/276737#M53071</guid>
      <dc:creator>michael_sleep</dc:creator>
      <dc:date>2016-07-22T18:55:54Z</dc:date>
    </item>
  </channel>
</rss>

