<?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 drop incoming deny logs from firewall logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239137#M46463</link>
    <description>&lt;P&gt;Your regex seems to be correct (backslashes before underscore aren't needed).&lt;BR /&gt;
verify sourcetype.&lt;BR /&gt;
bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2016 15:41:57 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2016-08-17T15:41:57Z</dc:date>
    <item>
      <title>How to drop incoming deny logs from firewall logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239133#M46459</link>
      <description>&lt;P&gt;I am trying to filter out all inbound deny syslog that the firewall is sending&lt;BR /&gt;
I have a props.conf like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[srx_log]
TRANSFORMS-srxDrop = srxDropDeny
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have transforms.conf like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;##############################
#  Drop Firewall inbound deny
###############################

[srxDropDeny]
REGEX = (RT\_FLOW\_SESSION\_DENY.+source-zone-name\=\"untrust\")
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can see that the logs are not being dopped.&lt;/P&gt;

&lt;P&gt;How do I ..... Or where do I look to see why this is not working.  Is there an internal log that tracks the transforms and props activity? is there a log file that tracks if or if not a filter is working?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 14:54:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239133#M46459</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2016-08-17T14:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to drop incoming deny logs from firewall logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239134#M46460</link>
      <description>&lt;P&gt;Hey Hartfoml!&lt;/P&gt;

&lt;P&gt;Just a few first level queries for you:&lt;/P&gt;

&lt;P&gt;Are you using a standalone or distributed deployment architecture?&lt;/P&gt;

&lt;P&gt;Are you monitoring a file or catching syslog?&lt;/P&gt;

&lt;P&gt;Have you confirmed your regex using something like regex101.com? (just to be sure)&lt;/P&gt;

&lt;P&gt;Using any other sourcetypes/props on these events?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 15:35:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239134#M46460</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2016-08-17T15:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to drop incoming deny logs from firewall logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239135#M46461</link>
      <description>&lt;P&gt;Without a log example I can only suppose that you did some of my same old errors:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;wrong sourcetype&lt;/LI&gt;
&lt;LI&gt;wrong regex&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Had you verified your regex in Splunk or regex101.com?&lt;BR /&gt;
can share an example?&lt;/P&gt;

&lt;P&gt;bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 15:35:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239135#M46461</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-08-17T15:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to drop incoming deny logs from firewall logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239136#M46462</link>
      <description>&lt;P&gt;here is a sample of the firewall log that I am trying to drop&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;14&amp;gt;1 2016-08-17T10:32:06.470-05:00 Astraeos RT_FLOW - RT_FLOW_SESSION_DENY [junos@2636.1.1.1.2.28 source-address="y.y.y.y" source-port="37949" destination-address="x.x.x.x" destination-port="80" service-name="junos-http" protocol-id="6" icmp-type="0" policy-name="my policyname" source-zone-name="Untrust" destination-zone-name="my zone" application="UNKNOWN" nested-application="UNKNOWN" username="N/A" roles="N/A" packet-incoming-interface="reth0.0" encrypted="UNKNOWN" reason="none"] 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Aug 2016 15:35:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239136#M46462</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2016-08-17T15:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to drop incoming deny logs from firewall logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239137#M46463</link>
      <description>&lt;P&gt;Your regex seems to be correct (backslashes before underscore aren't needed).&lt;BR /&gt;
verify sourcetype.&lt;BR /&gt;
bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 15:41:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239137#M46463</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-08-17T15:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to drop incoming deny logs from firewall logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239138#M46464</link>
      <description>&lt;P&gt;I think I figured it out.  Regex is case sensative and I had two source zones on with a lower "u" and one with an upper "U" so i had to add the "|" OR symbol to add the second source-zone-name&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[srxDropDeny]
REGEX = (RT\_FLOW\_SESSION\_DENY.+(source-zone-name\=\"untrust\"|source-zone-name\=\"Untrust\"))
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Aug 2016 15:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239138#M46464</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2016-08-17T15:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to drop incoming deny logs from firewall logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239139#M46465</link>
      <description>&lt;P&gt;thanks much this helped&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 15:57:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-incoming-deny-logs-from-firewall-logs/m-p/239139#M46465</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2016-08-17T15:57:13Z</dc:date>
    </item>
  </channel>
</rss>

