<?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: forward specified events to reciever in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415209#M94242</link>
    <description>&lt;P&gt;Try changing transforms to this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [setnull]
 REGEX = .*
 DEST_KEY = queue
 FORMAT = nullQueue

 [setparsing]
 REGEX = action\=blocked
 DEST_KEY = queue
 FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 20 Aug 2018 11:53:06 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2018-08-20T11:53:06Z</dc:date>
    <item>
      <title>forward specified events to reciever</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415204#M94237</link>
      <description>&lt;P&gt;i need only recieve events with action=blocked from farwrders,&lt;/P&gt;

&lt;P&gt;my logs are :&lt;BR /&gt;
Aug 18 12:56:13 192.168.X.X date=2018-08-18 time=12:50:36 devname="XXX" logid="0001000014" type="traffic" subtype="local" level="notice" vd="root" eventtime=1534580436 srcip=192.168.x.x srcname="SPLUNK" srcport=138 srcintf="internal" srcintfrole="lan" dstip=192.168.x.x dstport=138 dstintf=unknown-0 dstintfrole="undefined" sessionid=76899473 proto=17 action="deny" policyid=0 policytype="local-in-policy" service="udp/138" dstcountry="Reserved" &lt;/P&gt;

&lt;P&gt;i config my props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::192.168.X.X]
TRANSFORMS-null= setnull,setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = .*
DEST_KEY = queue
FORMAT = nullQueue

[setparsing]
REGEX = (?m)^action=(blocked)
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but when i do this forwarder doesn't receive any  logs from my device,can you tell me where is my mistake?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Aug 2018 11:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415204#M94237</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2018-08-18T11:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: forward specified events to reciever</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415205#M94238</link>
      <description>&lt;P&gt;Your regex in the setnull is too broad.  &lt;CODE&gt;.*&lt;/CODE&gt; will match everything.  Thus sending everything to null queue, and never to indexes.&lt;/P&gt;

&lt;P&gt;Your regex in setparsing is interesting.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;REGEX = (?m)^action=(blocked)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This would only match events that begin with "action=blocked", but i dont understand why you have a capture group around (blocked).  &lt;/P&gt;</description>
      <pubDate>Sat, 18 Aug 2018 16:33:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415205#M94238</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-08-18T16:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: forward specified events to reciever</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415206#M94239</link>
      <description>&lt;P&gt;i have problem when i do this i don't receive any logs from my device in forwarder &lt;BR /&gt;
where is my mistake? is this configuration right?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Aug 2018 18:42:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415206#M94239</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2018-08-18T18:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: forward specified events to reciever</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415207#M94240</link>
      <description>&lt;P&gt;What are you trying to do?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Aug 2018 19:52:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415207#M94240</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-08-18T19:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: forward specified events to reciever</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415208#M94241</link>
      <description>&lt;P&gt;i have one HF and i want  to send specific field from my HF to receiver. &lt;BR /&gt;
the field in my HF is action and i want HF just send field action=block to my receiver.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 03:49:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415208#M94241</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2018-08-20T03:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: forward specified events to reciever</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415209#M94242</link>
      <description>&lt;P&gt;Try changing transforms to this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [setnull]
 REGEX = .*
 DEST_KEY = queue
 FORMAT = nullQueue

 [setparsing]
 REGEX = action\=blocked
 DEST_KEY = queue
 FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Aug 2018 11:53:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415209#M94242</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-08-20T11:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: forward specified events to reciever</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415210#M94243</link>
      <description>&lt;P&gt;i do this in my HF but it doesn't work.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Aug 2018 05:56:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415210#M94243</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2018-08-26T05:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: forward specified events to reciever</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415211#M94244</link>
      <description>&lt;P&gt;In your transforms, try putting nullQueue 2nd&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-null= setparsing, setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Make sure you reload the data to see the effect &lt;/P&gt;</description>
      <pubDate>Sun, 26 Aug 2018 11:30:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forward-specified-events-to-reciever/m-p/415211#M94244</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-08-26T11:30:49Z</dc:date>
    </item>
  </channel>
</rss>

