<?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 configure a heavy forwarder to filter out data before sending logs to the indexer? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-heavy-forwarder-to-filter-out-data-before/m-p/167466#M33883</link>
    <description>&lt;P&gt;I'd just have the Test1 rule look like this:&lt;/P&gt;

&lt;PRE&gt;
[Test1]
REGEX = %ASA-4-106023
DEST_KEY = queue
FORMAT = nullQueue
&lt;/PRE&gt;

&lt;P&gt;Wildcards aren't necessary for this particular filtration, and in fact, the bare * is confusing, it's intended to "repeat 0 or more of the prior character".&lt;/P&gt;</description>
    <pubDate>Tue, 21 Oct 2014 17:26:12 GMT</pubDate>
    <dc:creator>sowings</dc:creator>
    <dc:date>2014-10-21T17:26:12Z</dc:date>
    <item>
      <title>How to configure a heavy forwarder to filter out data before sending logs to the indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-heavy-forwarder-to-filter-out-data-before/m-p/167464#M33881</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I like to filter out "%ASA-4-106023" before sending log to splunk indexer, Below are my config:&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;BR /&gt;
  [monitor:///var/log/]&lt;/P&gt;

&lt;P&gt;outputs.conf:&lt;BR /&gt;
  [tcpout]&lt;BR /&gt;
                    defaultGroup = splunk-indexer.dax.net_9090&lt;BR /&gt;
                    disabled = false&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                [tcpout:splunk-indexer.dax.net_9090]
                server = &amp;lt;ip_to_splunk-indexer&amp;gt;:9090

                [tcpout-server://&amp;lt;ip_to_splunk-indexer&amp;gt;:9090]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
 [source::&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2014 09:21:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-heavy-forwarder-to-filter-out-data-before/m-p/167464#M33881</guid>
      <dc:creator>mehhos</dc:creator>
      <dc:date>2014-10-21T09:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a heavy forwarder to filter out data before sending logs to the indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-heavy-forwarder-to-filter-out-data-before/m-p/167465#M33882</link>
      <description>&lt;P&gt;I try again:&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                 [monitor:///var/log/]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.com&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                 [tcpout]
                 defaultGroup = splunk-indexer.dax.net_9090
                 disabled = false

                 [tcpout:splunk-indexer.dax.net_9090]
                 server = 89.254.127.19:9090

                 [tcpout-server://89.254.127.19:9090]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                [source::&amp;lt;/var/log]
                TRANSFORMS-FilterEvent = Test1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                [Test1]
                REGEX = *106023*
                DEST_KEY = queue
                FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:02:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-heavy-forwarder-to-filter-out-data-before/m-p/167465#M33882</guid>
      <dc:creator>mehhos</dc:creator>
      <dc:date>2014-10-21T10:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a heavy forwarder to filter out data before sending logs to the indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-heavy-forwarder-to-filter-out-data-before/m-p/167466#M33883</link>
      <description>&lt;P&gt;I'd just have the Test1 rule look like this:&lt;/P&gt;

&lt;PRE&gt;
[Test1]
REGEX = %ASA-4-106023
DEST_KEY = queue
FORMAT = nullQueue
&lt;/PRE&gt;

&lt;P&gt;Wildcards aren't necessary for this particular filtration, and in fact, the bare * is confusing, it's intended to "repeat 0 or more of the prior character".&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2014 17:26:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-heavy-forwarder-to-filter-out-data-before/m-p/167466#M33883</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2014-10-21T17:26:12Z</dc:date>
    </item>
  </channel>
</rss>

