<?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: Heavy Forwarder filter in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72830#M14868</link>
    <description>&lt;P&gt;My event is  like this "Type=Error, XXXXXXX,  xxxxx, CMP=PUR, API=get Att, XXX, XXX" I need to filter it based on the CMP=PUR, I have tried REGEX = [.&lt;EM&gt;CMP=PUR.&lt;/EM&gt;] but its not working can some one help plzzz&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2015 07:26:21 GMT</pubDate>
    <dc:creator>GreeshmaV</dc:creator>
    <dc:date>2015-03-19T07:26:21Z</dc:date>
    <item>
      <title>Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72815#M14853</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have this example of log:&lt;/P&gt;

&lt;P&gt;hhhh/mm/dd hh:mm:ss :MGR ,nnnnn:nnn(text):1 [-07728 text.] : Event : Done by &amp;gt; 'text'&lt;/P&gt;

&lt;P&gt;I would like to filter by code "07728".&lt;/P&gt;

&lt;P&gt;How can do it?&lt;/P&gt;

&lt;P&gt;Thanks in advance, Best regards &lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 09:51:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72815#M14853</guid>
      <dc:creator>benedetto</dc:creator>
      <dc:date>2012-09-27T09:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72816#M14854</link>
      <description>&lt;P&gt;By filter do you mean &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.4/Deploy/Routeandfilterdatad#Filter_event_data_and_send_to_queues"&gt;discard&lt;/A&gt; events containing the value 07728 ?&lt;/P&gt;

&lt;P&gt;Then For example you could do:&lt;/P&gt;

&lt;P&gt;In props.conf, set the TRANSFORMS-null attribute:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::&amp;lt;your_source_path]
TRANSFORMS-null= setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In transforms.conf: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX=\[.*07728.*\]
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;*&lt;STRONG&gt;&lt;EM&gt;UPDATE&lt;/EM&gt;&lt;/STRONG&gt;*&lt;/P&gt;

&lt;P&gt;Keep specific events and discard the rest &lt;/P&gt;

&lt;P&gt;In this example, the order of the transforms in props.conf matters. The null queue transform must come first; if it comes later, it will invalidate the previous transform and route all events to the null queue. &lt;/P&gt;

&lt;P&gt;In props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::&amp;lt;your_source_path]
TRANSFORMS-set= setnull,setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[setparsing]
REGEX=\[.*(07728|07729|07730).*\]
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Sep 2012 12:52:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72816#M14854</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-27T12:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72817#M14855</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thank you for your answer,&lt;BR /&gt;
I would like to receive only the logo containing a list of codes for example 07728. The codes are about 80.&lt;BR /&gt;
Just replace SetNull and nullQueue with setparsing and indexQueue?&lt;BR /&gt;
How can I specify a list of values ​​to be sent?&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 13:39:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72817#M14855</guid>
      <dc:creator>benedetto</dc:creator>
      <dc:date>2012-09-27T13:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72818#M14856</link>
      <description>&lt;P&gt;I have updated the previous answer and you will have to put the list of all the codes in the regex and between () separated by |&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 13:58:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72818#M14856</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-27T13:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72819#M14857</link>
      <description>&lt;P&gt;I tried with SetNull before setparsing but this way does not send events.&lt;BR /&gt;
I tried without SetNull but this way sends all without filters.&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 14:32:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72819#M14857</guid>
      <dc:creator>benedetto</dc:creator>
      <dc:date>2012-09-27T14:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72820#M14858</link>
      <description>&lt;P&gt;can you post you props and transforms?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 14:50:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72820#M14858</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-27T14:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72821#M14859</link>
      <description>&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[prova_mgraudit]    
NO_BINARY_CHECK = 1    
pulldown_type = 1    
TRANSFORMS-set = mgraudit,setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[mgraudit]
REGEX = REGEX=\[.*(07728|07895).*\]
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have other filters so I used [mgraudit] instead of the file setparsing transforms.conf.&lt;BR /&gt;
prova_mgraudit is the surcetype that I created via the web interface and corresponds to the log file that I want to filter.&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 15:03:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72821#M14859</guid>
      <dc:creator>benedetto</dc:creator>
      <dc:date>2012-09-27T15:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72822#M14860</link>
      <description>&lt;P&gt;in your props.conf setnull should be first:&lt;BR /&gt;
TRANSFORMS-set = setnull,mgraudit&lt;/P&gt;

&lt;P&gt;and you need to restart splunk&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 15:38:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72822#M14860</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-27T15:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72823#M14861</link>
      <description>&lt;P&gt;I tried with SetNull before mgraudit but this way does not send events. &lt;BR /&gt;
I tried without SetNull but this way sends all without filters.&lt;BR /&gt;
I tried with SetNull after mgraudit but this way does not send events.&lt;/P&gt;

&lt;P&gt;After modifying the file I restarted splunk.&lt;BR /&gt;
Anyway, now try again.&lt;/P&gt;

&lt;P&gt;ps: are you Italian?&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 15:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72823#M14861</guid>
      <dc:creator>benedetto</dc:creator>
      <dc:date>2012-09-27T15:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72824#M14862</link>
      <description>&lt;P&gt;that's weird it should work... can you try for test on source instead of sourcetype?&lt;/P&gt;

&lt;P&gt;no i am french... &lt;span class="lia-unicode-emoji" title=":winking_face_with_tongue:"&gt;😜&lt;/span&gt; but my mum is sicilian...&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 15:48:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72824#M14862</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-27T15:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72825#M14863</link>
      <description>&lt;P&gt;[source::/home/splunk/mgraudit/mgraudit.log]&lt;/P&gt;

&lt;P&gt;NO_BINARY_CHECK = 1&lt;/P&gt;

&lt;P&gt;pulldown_type = 1&lt;/P&gt;

&lt;P&gt;TRANSFORMS-set = setnull,mgraudit&lt;/P&gt;

&lt;P&gt;In this way does not send events&lt;/P&gt;

&lt;P&gt;[source::/home/splunk/mgraudit/mgraudit.log]&lt;/P&gt;

&lt;P&gt;NO_BINARY_CHECK = 1&lt;/P&gt;

&lt;P&gt;pulldown_type = 1&lt;/P&gt;

&lt;P&gt;TRANSFORMS-set = mgraudit&lt;/P&gt;

&lt;P&gt;In this way sends all without filters.&lt;BR /&gt;
transforms.conf file is equal to the previous.&lt;/P&gt;

&lt;P&gt;You know what it depends?&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:31:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72825#M14863</guid>
      <dc:creator>benedetto</dc:creator>
      <dc:date>2020-09-28T12:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72826#M14864</link>
      <description>&lt;P&gt;then it sounds like the regex doesnot match your data.&lt;/P&gt;

&lt;P&gt;Can you post sample events?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 16:15:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72826#M14864</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-27T16:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72827#M14865</link>
      <description>&lt;P&gt;Yes &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;2012/09/27 19:07:48 :MGR ,49660:301(entrust):1  [-07728 Entrust subsystem started.] : Event : Done by &amp;gt; 'Master User Master1' : entash subsystem - Entrust Authority (TM) Security Manager, version 7.1 SP3 Patch 154020(189) @ Jan  5 2010 14:29:19 (PID: 49660)&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 16:19:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72827#M14865</guid>
      <dc:creator>benedetto</dc:creator>
      <dc:date>2012-09-27T16:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72828#M14866</link>
      <description>&lt;P&gt;just seen a typo in your transforms.conf you have twice REGEX and i tried the config on my splunk and it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 16:34:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72828#M14866</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-27T16:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72829#M14867</link>
      <description>&lt;P&gt;You are Great!!&lt;/P&gt;

&lt;P&gt;Thank you very much!!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2012 07:31:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72829#M14867</guid>
      <dc:creator>benedetto</dc:creator>
      <dc:date>2012-09-28T07:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72830#M14868</link>
      <description>&lt;P&gt;My event is  like this "Type=Error, XXXXXXX,  xxxxx, CMP=PUR, API=get Att, XXX, XXX" I need to filter it based on the CMP=PUR, I have tried REGEX = [.&lt;EM&gt;CMP=PUR.&lt;/EM&gt;] but its not working can some one help plzzz&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 07:26:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-filter/m-p/72830#M14868</guid>
      <dc:creator>GreeshmaV</dc:creator>
      <dc:date>2015-03-19T07:26:21Z</dc:date>
    </item>
  </channel>
</rss>

