<?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 Filter CLI logging on ASA by source or dst port in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/filter-cli-logging-on-asa-by-source-or-dst-port/m-p/1813017#M456502</link>
    <description>&lt;P&gt;I know there has to be a way to filter the logging on the ASA CLI. The "sh logging" command is obviously all logs on the ASA but i would like to filter the logging based on perhaps a source IP or dst ip or port. I can do this in the ASDM using the logging tool but i perfer using the CLI. Is there a regular expression or something that I need to use? I know i can use "sh loggin | in 10.10.0.1" (ip based). But that shows all logs for source or destination 10.10.0.1. I need to specify. Thanks. &lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 22:16:08 GMT</pubDate>
    <dc:creator>Justin Westover</dc:creator>
    <dc:date>2019-03-11T22:16:08Z</dc:date>
    <item>
      <title>Filter CLI logging on ASA by source or dst port</title>
      <link>https://community.cisco.com/t5/network-security/filter-cli-logging-on-asa-by-source-or-dst-port/m-p/1813017#M456502</link>
      <description>&lt;P&gt;I know there has to be a way to filter the logging on the ASA CLI. The "sh logging" command is obviously all logs on the ASA but i would like to filter the logging based on perhaps a source IP or dst ip or port. I can do this in the ASDM using the logging tool but i perfer using the CLI. Is there a regular expression or something that I need to use? I know i can use "sh loggin | in 10.10.0.1" (ip based). But that shows all logs for source or destination 10.10.0.1. I need to specify. Thanks. &lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 22:16:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/filter-cli-logging-on-asa-by-source-or-dst-port/m-p/1813017#M456502</guid>
      <dc:creator>Justin Westover</dc:creator>
      <dc:date>2019-03-11T22:16:08Z</dc:date>
    </item>
    <item>
      <title>Filter CLI logging on ASA by source or dst port</title>
      <link>https://community.cisco.com/t5/network-security/filter-cli-logging-on-asa-by-source-or-dst-port/m-p/1813018#M456504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Justin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For source IP, you can do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;show log | grep for .*:&lt;IP&gt;&lt;/IP&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For destination IP, you would use:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;show log | grep to .*:&lt;IP&gt;&lt;/IP&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 15:59:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/filter-cli-logging-on-asa-by-source-or-dst-port/m-p/1813018#M456504</guid>
      <dc:creator>mirober2</dc:creator>
      <dc:date>2012-01-24T15:59:05Z</dc:date>
    </item>
    <item>
      <title>Filter CLI logging on ASA by source or dst port</title>
      <link>https://community.cisco.com/t5/network-security/filter-cli-logging-on-asa-by-source-or-dst-port/m-p/1813019#M456510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What If I wanted to filter on source and destination IP addresses? I tried show log | grep to .*:&lt;IP&gt; for .*:&lt;IP&gt; but that didn't work? &lt;/IP&gt;&lt;/IP&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 20:27:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/filter-cli-logging-on-asa-by-source-or-dst-port/m-p/1813019#M456510</guid>
      <dc:creator>Justin Westover</dc:creator>
      <dc:date>2012-02-08T20:27:41Z</dc:date>
    </item>
  </channel>
</rss>

