<?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 could i filter network firewall data using a filed value ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284544#M99215</link>
    <description>&lt;P&gt;yes yes&lt;/P&gt;

&lt;P&gt;REGEX= deviceExternalId=(ExempleValue-FW|ExempleValue2-FW)&lt;/P&gt;

&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2015 13:43:16 GMT</pubDate>
    <dc:creator>Afef</dc:creator>
    <dc:date>2015-12-18T13:43:16Z</dc:date>
    <item>
      <title>How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284535#M99206</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a firewall that sends a lot of data, i would like to filter events using a specific field value (exemple whitelist field="value")&lt;/P&gt;

&lt;P&gt;my stanza is like this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[udp://516]
connection_host = ip
sourcetype = stonegate
whitelist = deviceExternalId="value"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This didn't work and i still get all of data.&lt;/P&gt;

&lt;P&gt;Any help please ?&lt;/P&gt;

&lt;P&gt;thanks &lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 10:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284535#M99206</guid>
      <dc:creator>Afef</dc:creator>
      <dc:date>2015-12-18T10:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284536#M99207</link>
      <description>&lt;P&gt;If you want to filter data you have to play with the props and transforms files.&lt;BR /&gt;
Take a look at this:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://answers.splunk.com/answers/107605/filtering-events-out-via-props-conf-and-transforms-conf.html"&gt;https://answers.splunk.com/answers/107605/filtering-events-out-via-props-conf-and-transforms-conf.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Keep in mind this is not going to work on Universal Forwarders so make sure you are running it on a full enterprise installation.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
J&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 10:53:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284536#M99207</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2015-12-18T10:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284537#M99208</link>
      <description>&lt;P&gt;Hi Afef&lt;/P&gt;

&lt;P&gt;The correct way is&lt;/P&gt;

&lt;P&gt;In props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[stonegate]
TRANSFORMS-erase = eventerase
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[eventerase]
 REGEX=  deviceExternalId\=\"value\" &amp;lt;&amp;lt;--- the regular expresion that match the events that you want to filter
 DEST_KEY=queue
 FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope help you&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 10:53:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284537#M99208</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2015-12-18T10:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284538#M99209</link>
      <description>&lt;P&gt;This did not work for me !&lt;/P&gt;

&lt;P&gt;i have events like this :&lt;/P&gt;

&lt;P&gt;Dec 18 13:54:29 10.1.140.3 CEF:0|McAfee|Firewall|5.7.5|70018|Connection_Allowed|0|spt=31579 deviceExternalId=ExempleValue-FW  node 1.....&lt;/P&gt;

&lt;P&gt;I did the config on props.conf &amp;amp; transforms.conf but i still have data in&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 12:58:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284538#M99209</guid>
      <dc:creator>Afef</dc:creator>
      <dc:date>2015-12-18T12:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284539#M99210</link>
      <description>&lt;P&gt;Have you restart splunk after configure the props.conf and transforms.conf?&lt;/P&gt;

&lt;P&gt;Can you add the content of the config files just to check the configuration?&lt;/P&gt;

&lt;P&gt;And also, where the did you configure these files? indexer i hope&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 13:03:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284539#M99210</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2015-12-18T13:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284540#M99211</link>
      <description>&lt;P&gt;yes i restarted the splunk server (yes the indexer , i have one splunk isntance)&lt;/P&gt;

&lt;P&gt;the config :&lt;/P&gt;

&lt;P&gt;In props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [stonegate]
 TRANSFORMS-erase = eventerase
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [eventerase]
  REGEX=  deviceExternalId\=\"ExempleValue-FW\"
  DEST_KEY=queue
  FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Dec 2015 13:08:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284540#M99211</guid>
      <dc:creator>Afef</dc:creator>
      <dc:date>2015-12-18T13:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284541#M99212</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I think the error is in the regex, please use this one&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX=  deviceExternalId\=ExempleValue\-FW
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Dec 2015 13:12:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284541#M99212</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2015-12-18T13:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284542#M99213</link>
      <description>&lt;P&gt;Thanks for your answer it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;If i would like to put many values :&lt;/P&gt;

&lt;P&gt;REGEX=  deviceExternalId=(ExempleValue-FW|ExempleValue2-FW) ?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 13:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284542#M99213</guid>
      <dc:creator>Afef</dc:creator>
      <dc:date>2015-12-18T13:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284543#M99214</link>
      <description>&lt;P&gt;Yes,&lt;/P&gt;

&lt;P&gt;But remember to escape the &lt;CODE&gt;-&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 13:40:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284543#M99214</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2015-12-18T13:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284544#M99215</link>
      <description>&lt;P&gt;yes yes&lt;/P&gt;

&lt;P&gt;REGEX= deviceExternalId=(ExempleValue-FW|ExempleValue2-FW)&lt;/P&gt;

&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 13:43:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284544#M99215</guid>
      <dc:creator>Afef</dc:creator>
      <dc:date>2015-12-18T13:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284545#M99216</link>
      <description>&lt;P&gt;And also remember to scape the second &lt;CODE&gt;=&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX= deviceExternalId\=(ExempleValue\-FW|ExempleValue2\-FW) 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;De nada&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 13:47:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284545#M99216</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2015-12-18T13:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: How could i filter network firewall data using a filed value ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284546#M99217</link>
      <description>&lt;P&gt;It won't work unless you remove the comment string ( &lt;CODE&gt;&amp;lt;&amp;lt;--- the regular expresion that match the events that you want to filter&lt;/CODE&gt; ).  That is probably all that is wrong; otherwise this solution should work.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 17:49:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-could-i-filter-network-firewall-data-using-a-filed-value/m-p/284546#M99217</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-12-18T17:49:22Z</dc:date>
    </item>
  </channel>
</rss>

