<?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 to filter event on splunk heavy forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-event-on-splunk-heavy-forwarder/m-p/106158#M22339</link>
    <description>&lt;P&gt;I setup splunk heavy forwarder and splunk indexer.&lt;/P&gt;

&lt;P&gt;I want to filter some event before indexed on splunk indexer.&lt;/P&gt;

&lt;P&gt;*** Example log, i want to filter&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2011-02-05 00:02:00,018 INFO [Cron_SendFaxNTF] - &amp;lt;BEGIN Send Notification Fax...&amp;gt;
2011-02-05 00:02:00,034 INFO [Cron_SendFaxNTF] - &amp;lt;BEGIN Send Notifications...&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I try to config both indexer and forwarder but not work!!!&lt;/P&gt;

&lt;P&gt;*** props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iCIS_log]
TRANSFORMS-icisLog = icisLog-null
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;*** transforms.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[icisLog-null]
REGEX = ^\d+-\d+-\d+\s\d+:\d+:\d+,\d+\sINFO.*
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Help me please !!!!&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2011 11:35:14 GMT</pubDate>
    <dc:creator>anapat</dc:creator>
    <dc:date>2011-05-20T11:35:14Z</dc:date>
    <item>
      <title>How to filter event on splunk heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-event-on-splunk-heavy-forwarder/m-p/106158#M22339</link>
      <description>&lt;P&gt;I setup splunk heavy forwarder and splunk indexer.&lt;/P&gt;

&lt;P&gt;I want to filter some event before indexed on splunk indexer.&lt;/P&gt;

&lt;P&gt;*** Example log, i want to filter&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2011-02-05 00:02:00,018 INFO [Cron_SendFaxNTF] - &amp;lt;BEGIN Send Notification Fax...&amp;gt;
2011-02-05 00:02:00,034 INFO [Cron_SendFaxNTF] - &amp;lt;BEGIN Send Notifications...&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I try to config both indexer and forwarder but not work!!!&lt;/P&gt;

&lt;P&gt;*** props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iCIS_log]
TRANSFORMS-icisLog = icisLog-null
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;*** transforms.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[icisLog-null]
REGEX = ^\d+-\d+-\d+\s\d+:\d+:\d+,\d+\sINFO.*
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Help me please !!!!&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2011 11:35:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-event-on-splunk-heavy-forwarder/m-p/106158#M22339</guid>
      <dc:creator>anapat</dc:creator>
      <dc:date>2011-05-20T11:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter event on splunk heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-event-on-splunk-heavy-forwarder/m-p/106159#M22340</link>
      <description>&lt;P&gt;In your inputs.conf, do you have your monitor set to the correct sourcetype (&lt;CODE&gt;iCIS_log&lt;/CODE&gt;)?&lt;/P&gt;

&lt;P&gt;Possibly tune your REGEX as such: &lt;CODE&gt;^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2},\d{3}\s+INFO&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2011 12:30:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-event-on-splunk-heavy-forwarder/m-p/106159#M22340</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2011-05-20T12:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter event on splunk heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-event-on-splunk-heavy-forwarder/m-p/106160#M22341</link>
      <description>&lt;P&gt;Yes, I monitor sourcetype "iCIS log" and try to config both indexer and forwarder&lt;/P&gt;

&lt;P&gt;I'll test with your regex. And i'll update result later.&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2011 09:42:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-event-on-splunk-heavy-forwarder/m-p/106160#M22341</guid>
      <dc:creator>anapat</dc:creator>
      <dc:date>2011-05-21T09:42:05Z</dc:date>
    </item>
  </channel>
</rss>

