<?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: Cisco Router ACL Logs - How to Utilize in Cisco Security App? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106308#M22381</link>
    <description>&lt;P&gt;What you need to do is field extract the same fields from the IOS ACL deny log entries. I've used the following quick rex's in the past to dig info from ACLs. &lt;/P&gt;

&lt;P&gt;host="someIOSfirewall" %SEC-6-IPACCESSLOGP | rex field=_raw "list 101 denied (?&lt;IP_PROTO&gt;[a-zA-Z]+) (?&lt;SRC_ADDRESS&gt;\d+.\d+.\d+.\d+)((?&lt;SRC_PORT&gt;\d+)) -&amp;gt; (?&lt;DST_ADDRESS&gt;\d+.\d+.\d+.\d+)((?&lt;DST_PORT&gt;\d+))" | chart sparkline count by src_address&lt;/DST_PORT&gt;&lt;/DST_ADDRESS&gt;&lt;/SRC_PORT&gt;&lt;/SRC_ADDRESS&gt;&lt;/IP_PROTO&gt;&lt;/P&gt;

&lt;P&gt;host="someIOSfirewall" %SEC-6-IPACCESSLOGP | rex field=_raw "list 101 denied (?&lt;IP_PROTO&gt;[a-zA-Z]+) (?&lt;SRC_ADDRESS&gt;\d+.\d+.\d+.\d+)((?&lt;SRC_PORT&gt;\d+)) -&amp;gt; (?&lt;DST_ADDRESS&gt;\d+.\d+.\d+.\d+)((?&lt;DST_PORT&gt;\d+))" | lookup geoip clientip as src_address | chart sparkline count by client_country | sort -count&lt;/DST_PORT&gt;&lt;/DST_ADDRESS&gt;&lt;/SRC_PORT&gt;&lt;/SRC_ADDRESS&gt;&lt;/IP_PROTO&gt;&lt;/P&gt;

&lt;P&gt;Just make the field names match what it is expecting, and the type to match, and you'll be set.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 11:39:35 GMT</pubDate>
    <dc:creator>tbaschak</dc:creator>
    <dc:date>2020-09-28T11:39:35Z</dc:date>
    <item>
      <title>Cisco Router ACL Logs - How to Utilize in Cisco Security App?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106307#M22380</link>
      <description>&lt;P&gt;Hi All -&lt;/P&gt;

&lt;P&gt;Just discovered Splunk, and I must say it's an amazing tool.&lt;/P&gt;

&lt;P&gt;I've configured a router to send syslog messages to Splunk, and they are indeed being collected.&lt;BR /&gt;
I've also installed the Cisco security app along with a few of its sub-apps.&lt;BR /&gt;
The Cisco firewall app, though, doesn't seem to be able to read any of the data generated by the ACL deny log entries generated by my router.  It seems these syslog entries are not in the same format as those which would be generated by a true ASA or PIX firewall.  Still, I have all sorts of source IP / port and dest IP / port entries, so there is so much potential here!  Any ideas on how I could make my current data readable by the Cisco Security Splunk app would be very much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2012 23:30:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106307#M22380</guid>
      <dc:creator>umpiloto</dc:creator>
      <dc:date>2012-04-01T23:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco Router ACL Logs - How to Utilize in Cisco Security App?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106308#M22381</link>
      <description>&lt;P&gt;What you need to do is field extract the same fields from the IOS ACL deny log entries. I've used the following quick rex's in the past to dig info from ACLs. &lt;/P&gt;

&lt;P&gt;host="someIOSfirewall" %SEC-6-IPACCESSLOGP | rex field=_raw "list 101 denied (?&lt;IP_PROTO&gt;[a-zA-Z]+) (?&lt;SRC_ADDRESS&gt;\d+.\d+.\d+.\d+)((?&lt;SRC_PORT&gt;\d+)) -&amp;gt; (?&lt;DST_ADDRESS&gt;\d+.\d+.\d+.\d+)((?&lt;DST_PORT&gt;\d+))" | chart sparkline count by src_address&lt;/DST_PORT&gt;&lt;/DST_ADDRESS&gt;&lt;/SRC_PORT&gt;&lt;/SRC_ADDRESS&gt;&lt;/IP_PROTO&gt;&lt;/P&gt;

&lt;P&gt;host="someIOSfirewall" %SEC-6-IPACCESSLOGP | rex field=_raw "list 101 denied (?&lt;IP_PROTO&gt;[a-zA-Z]+) (?&lt;SRC_ADDRESS&gt;\d+.\d+.\d+.\d+)((?&lt;SRC_PORT&gt;\d+)) -&amp;gt; (?&lt;DST_ADDRESS&gt;\d+.\d+.\d+.\d+)((?&lt;DST_PORT&gt;\d+))" | lookup geoip clientip as src_address | chart sparkline count by client_country | sort -count&lt;/DST_PORT&gt;&lt;/DST_ADDRESS&gt;&lt;/SRC_PORT&gt;&lt;/SRC_ADDRESS&gt;&lt;/IP_PROTO&gt;&lt;/P&gt;

&lt;P&gt;Just make the field names match what it is expecting, and the type to match, and you'll be set.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:39:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106308#M22381</guid>
      <dc:creator>tbaschak</dc:creator>
      <dc:date>2020-09-28T11:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco Router ACL Logs - How to Utilize in Cisco Security App?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106309#M22382</link>
      <description>&lt;P&gt;Thanks for your reply! I was looking for this answer as well... I'm new to this so your answer looks like greek to me, but hopefully can figure it out.&lt;/P&gt;

&lt;P&gt;Where would I place rex's like those to have the Cisco Suite pick up those fields?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2012 22:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106309#M22382</guid>
      <dc:creator>robinjames</dc:creator>
      <dc:date>2012-04-12T22:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco Router ACL Logs - How to Utilize in Cisco Security App?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106310#M22383</link>
      <description>&lt;P&gt;You'd actually want to do this with a field extraction, but you could test the field extraction with the rex tho.&lt;BR /&gt;
Something like this in your local/props.conf&lt;/P&gt;

&lt;P&gt;[host::x.y.z.b]&lt;BR /&gt;
EXTRACT-ip_proto,src_address,src_port,etc = "list 101 denied (?&lt;IP_PROTO&gt;[a-zA-Z]+) (?&lt;SRC_ADDRESS&gt;d+.d+.d+.d+)((?&lt;SRC_PORT&gt;d+)) -&amp;gt; (?&lt;DST_ADDRESS&gt;d+.d+.d+.d+)((?&lt;DST_PORT&gt;d+))"&lt;/DST_PORT&gt;&lt;/DST_ADDRESS&gt;&lt;/SRC_PORT&gt;&lt;/SRC_ADDRESS&gt;&lt;/IP_PROTO&gt;&lt;/P&gt;

&lt;P&gt;You'll need to customize the extracted field names to match.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:40:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106310#M22383</guid>
      <dc:creator>tbaschak</dc:creator>
      <dc:date>2020-09-28T11:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco Router ACL Logs - How to Utilize in Cisco Security App?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106311#M22384</link>
      <description>&lt;P&gt;I did like this:&lt;BR /&gt;
severity=* index=ciscoios  vendor_category="IP security" &lt;BR /&gt;
| stats count(ACL_action) AS Amount BY host,ACL_name,ACL_serviceport,ACL_sourceip,ACL_destinationip,ACL_action&lt;BR /&gt;
| table host Amount ACL_name,ACL_action,ACL_serviceport,ACL_sourceip,ACL_destinationip&lt;/P&gt;

&lt;P&gt;Then you just have make your variables so the match your setup,I have done it like this:&lt;BR /&gt;
severity=* index=ciscoios  vendor_category="IP security" &lt;BR /&gt;
| stats count(ACL_action) AS Amount BY host,ACL_name,ACL_serviceport,ACL_sourceip,ACL_destinationip,ACL_action&lt;BR /&gt;
| table host Amount ACL_name,ACL_action,ACL_serviceport,ACL_sourceip,ACL_destinationip&lt;/P&gt;

&lt;P&gt;But you need to extract the fiels so they match the names of the variables you use.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:05:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cisco-Router-ACL-Logs-How-to-Utilize-in-Cisco-Security-App/m-p/106311#M22384</guid>
      <dc:creator>cphnetworkguy</dc:creator>
      <dc:date>2020-09-30T03:05:16Z</dc:date>
    </item>
  </channel>
</rss>

