<?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>article Configure Filtered E-mail Forwarding in Log Forwarding Articles</title>
    <link>https://live.paloaltonetworks.com/t5/log-forwarding-articles/configure-filtered-e-mail-forwarding/ta-p/171492</link>
    <description>&lt;H2&gt;Configure Filtered Email Forwarding&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Create a MailGun account&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to mailgun.com.&lt;/LI&gt;
&lt;LI&gt;Sign up for a free account and complete the verification steps. (Note: there is no need to configure a custom domain, just continue to your control panel)&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture41.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10763iFE27659AE1F576DF/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture41.png" alt="Picture41.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;After activating your account, scroll to the bottom of the mailgun.com page to the section titled “Sandbox Domains”.&lt;/LI&gt;
&lt;LI&gt;Click on the Authorized Recipients link to register and verify your email.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture42.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10765i9E5CC774697A4B6E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture42.png" alt="Picture42.png" /&gt;&lt;/span&gt;
&lt;P class="lia-img-tmp-id-4"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Click the domain name link (see picture above). Leave this page open.&lt;/LI&gt;
&lt;LI&gt;In a new browser window, navigate to the GUI for your firewall.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Create HTTP Server Profile&lt;/H3&gt;
&lt;OL&gt;
&lt;LI&gt;In the firewall GUI, navigate to Device-&amp;gt;Server Profiles-&amp;gt;HTTP.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Add&lt;/STRONG&gt; at the bottom of the screen.&lt;/LI&gt;
&lt;LI&gt;Enter a name for the profile.&lt;/LI&gt;
&lt;LI&gt;On the &lt;STRONG&gt;Servers&lt;/STRONG&gt; tab, click &lt;STRONG&gt;Add&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Enter information for all of the following fields:
&lt;OL&gt;
&lt;OL&gt;
&lt;LI&gt;Name: Enter a descriptive name (e.g. MailGun).&lt;/LI&gt;
&lt;LI&gt;Address: api.mailgun.net&lt;/LI&gt;
&lt;LI&gt;Protocol: HTTPS&lt;/LI&gt;
&lt;LI&gt;Port: 443&lt;/LI&gt;
&lt;LI&gt;HTTP Method: POST&lt;/LI&gt;
&lt;LI&gt;Username: api&lt;/LI&gt;
&lt;LI&gt;Password: the API key listed on the mailgun site&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture43.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10766i7ACE1E4755D101B2/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture43.png" alt="Picture43.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Click the Test Server Connection button&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture44.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10767i05399D8D45B52705/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture44.png" alt="Picture44.png" /&gt;&lt;/span&gt;
&lt;P class="lia-img-tmp-id-6"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;On the &lt;STRONG&gt;Payload Format&lt;/STRONG&gt; tab, click on the log type of interest, in this example: &lt;STRONG&gt;System&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Enter a name for the format (e.g. mailgun system).&lt;/LI&gt;
&lt;LI&gt;In the &lt;STRONG&gt;URI Format&lt;/STRONG&gt; field Enter the portion of the API Base URL following api.mailgun.net from the mailgun page, followed by /messages. For example:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture45.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10768i77488F8550567148/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture45.png" alt="Picture45.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This yields “/v3/sandbox7b79131630b8458eb3f13bcff9ff1ced.mailgun.org/messages”&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;In the&amp;nbsp;&lt;STRONG&gt;Parameters&lt;/STRONG&gt; section, create the following parameter pairs:
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="234"&gt;
&lt;P&gt;Parameter&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="234"&gt;
&lt;P&gt;Value&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234"&gt;
&lt;P&gt;from&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="234"&gt;
&lt;P&gt;&lt;A href="mailto:admin@myfirewall.net" target="_blank" rel="noopener"&gt;admin@myfirewall.net&lt;/A&gt; (can be any from address)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234"&gt;
&lt;P&gt;to&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="234"&gt;
&lt;P&gt;&amp;lt;your verified email address&amp;gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234"&gt;
&lt;P&gt;subject&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="234"&gt;
&lt;P&gt;A $severity system log of type $subtype was received.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234"&gt;
&lt;P&gt;text&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="234"&gt;
&lt;P&gt;A system log of severity $severity says: $opaque&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your format should look similar to this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture46.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10769i6CE47F7A09D88120/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture46.png" alt="Picture46.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Alternately, you can configure the text parameter in the payload text area.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture47.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10770i4255C312B44C038E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture47.png" alt="Picture47.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the example of a text in the payload for the email:&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="265"&gt;
&lt;P&gt;text=A System log with the following data was received:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PAN-OS= $sender_sw_version&lt;/P&gt;
&lt;P&gt;subtype= $subtype&lt;/P&gt;
&lt;P&gt;type= $type&lt;/P&gt;
&lt;P&gt;severity= $number-of-severity&lt;/P&gt;
&lt;P&gt;Time= $cef-formatted-receive_time&lt;/P&gt;
&lt;P&gt;Serial= $serial&lt;/P&gt;
&lt;P&gt;Device Name= $device_name&lt;/P&gt;
&lt;P&gt;Module= $module&lt;/P&gt;
&lt;P&gt;Message= $opaque&lt;/P&gt;
&lt;P&gt;Sequence Number= $seqno&lt;/P&gt;
&lt;P&gt;Event Type= $eventid&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Object= $object&lt;/P&gt;
&lt;P&gt;PanOSDGl1= $dg_hier_level_1&lt;/P&gt;
&lt;P&gt;PanOSDGl2= $dg_hier_level_2&lt;/P&gt;
&lt;P&gt;PanOSDGl3= $dg_hier_level_3&lt;/P&gt;
&lt;P&gt;PanOSDGl4= $dg_hier_level_4&lt;/P&gt;
&lt;P&gt;PanOSVsysName= $vsys_name&lt;/P&gt;
&lt;P&gt;Virtual System= $vsys&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/LI&gt;
&lt;LI&gt;Click Send Test Log&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture48.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10771i611E87CA6B6E475E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture48.png" alt="Picture48.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Check to assure your email was received:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture49.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10772i7294DDDB6D27D5B2/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture49.png" alt="Picture49.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Click OK&lt;/LI&gt;
&lt;LI&gt;Click OK&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Configure Log Forwarding for Desired Log Types&lt;/H3&gt;
&lt;P&gt;For this example, we will configure the system log forwarding.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to Device-&amp;gt;Log Settings.&lt;/LI&gt;
&lt;LI&gt;Under &lt;STRONG&gt;System&lt;/STRONG&gt; click &lt;STRONG&gt;Add&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Enter a name in the &lt;STRONG&gt;Log Settings – System&lt;/STRONG&gt; window (e.g. ‘fwd to email’).&lt;/LI&gt;
&lt;LI&gt;In the filter area, use the filter builder to create a filter for system logs that you would like forwarded to your inbox (e.g. ‘description contains commit’).&lt;/LI&gt;
&lt;LI&gt;Click OK, commit the changes.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Testing and Troubleshooting&lt;/H3&gt;
&lt;P&gt;If you used the ‘description contains commit’ filter above, you can test your configuration by committing a change on your firewall.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Troubleshooting:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Mailgun offers a set of logs displaying any successful emails sent:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture50.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10773i0F5E713B6DB7A39F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture50.png" alt="Picture50.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;If you have custom service routes, check to make sure the service route for “HTTP” is configured to allow the firewall or Panorama reach the API service:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture51.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10774i5BEFA13117C8CF4B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture51.png" alt="Picture51.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Created by Jamie Fitz-Gerald&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2022 20:56:55 GMT</pubDate>
    <dc:creator>rkemburu</dc:creator>
    <dc:date>2022-07-07T20:56:55Z</dc:date>
    <item>
      <title>Configure Filtered E-mail Forwarding</title>
      <link>https://live.paloaltonetworks.com/t5/log-forwarding-articles/configure-filtered-e-mail-forwarding/ta-p/171492</link>
      <description>&lt;H2&gt;Configure Filtered Email Forwarding&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Create a MailGun account&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to mailgun.com.&lt;/LI&gt;
&lt;LI&gt;Sign up for a free account and complete the verification steps. (Note: there is no need to configure a custom domain, just continue to your control panel)&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture41.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10763iFE27659AE1F576DF/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture41.png" alt="Picture41.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;After activating your account, scroll to the bottom of the mailgun.com page to the section titled “Sandbox Domains”.&lt;/LI&gt;
&lt;LI&gt;Click on the Authorized Recipients link to register and verify your email.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture42.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10765i9E5CC774697A4B6E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture42.png" alt="Picture42.png" /&gt;&lt;/span&gt;
&lt;P class="lia-img-tmp-id-4"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Click the domain name link (see picture above). Leave this page open.&lt;/LI&gt;
&lt;LI&gt;In a new browser window, navigate to the GUI for your firewall.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Create HTTP Server Profile&lt;/H3&gt;
&lt;OL&gt;
&lt;LI&gt;In the firewall GUI, navigate to Device-&amp;gt;Server Profiles-&amp;gt;HTTP.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Add&lt;/STRONG&gt; at the bottom of the screen.&lt;/LI&gt;
&lt;LI&gt;Enter a name for the profile.&lt;/LI&gt;
&lt;LI&gt;On the &lt;STRONG&gt;Servers&lt;/STRONG&gt; tab, click &lt;STRONG&gt;Add&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Enter information for all of the following fields:
&lt;OL&gt;
&lt;OL&gt;
&lt;LI&gt;Name: Enter a descriptive name (e.g. MailGun).&lt;/LI&gt;
&lt;LI&gt;Address: api.mailgun.net&lt;/LI&gt;
&lt;LI&gt;Protocol: HTTPS&lt;/LI&gt;
&lt;LI&gt;Port: 443&lt;/LI&gt;
&lt;LI&gt;HTTP Method: POST&lt;/LI&gt;
&lt;LI&gt;Username: api&lt;/LI&gt;
&lt;LI&gt;Password: the API key listed on the mailgun site&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture43.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10766i7ACE1E4755D101B2/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture43.png" alt="Picture43.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Click the Test Server Connection button&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture44.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10767i05399D8D45B52705/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture44.png" alt="Picture44.png" /&gt;&lt;/span&gt;
&lt;P class="lia-img-tmp-id-6"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;On the &lt;STRONG&gt;Payload Format&lt;/STRONG&gt; tab, click on the log type of interest, in this example: &lt;STRONG&gt;System&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Enter a name for the format (e.g. mailgun system).&lt;/LI&gt;
&lt;LI&gt;In the &lt;STRONG&gt;URI Format&lt;/STRONG&gt; field Enter the portion of the API Base URL following api.mailgun.net from the mailgun page, followed by /messages. For example:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture45.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10768i77488F8550567148/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture45.png" alt="Picture45.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This yields “/v3/sandbox7b79131630b8458eb3f13bcff9ff1ced.mailgun.org/messages”&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;In the&amp;nbsp;&lt;STRONG&gt;Parameters&lt;/STRONG&gt; section, create the following parameter pairs:
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="234"&gt;
&lt;P&gt;Parameter&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="234"&gt;
&lt;P&gt;Value&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234"&gt;
&lt;P&gt;from&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="234"&gt;
&lt;P&gt;&lt;A href="mailto:admin@myfirewall.net" target="_blank" rel="noopener"&gt;admin@myfirewall.net&lt;/A&gt; (can be any from address)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234"&gt;
&lt;P&gt;to&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="234"&gt;
&lt;P&gt;&amp;lt;your verified email address&amp;gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234"&gt;
&lt;P&gt;subject&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="234"&gt;
&lt;P&gt;A $severity system log of type $subtype was received.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234"&gt;
&lt;P&gt;text&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="234"&gt;
&lt;P&gt;A system log of severity $severity says: $opaque&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your format should look similar to this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture46.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10769i6CE47F7A09D88120/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture46.png" alt="Picture46.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Alternately, you can configure the text parameter in the payload text area.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture47.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10770i4255C312B44C038E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture47.png" alt="Picture47.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the example of a text in the payload for the email:&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="265"&gt;
&lt;P&gt;text=A System log with the following data was received:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PAN-OS= $sender_sw_version&lt;/P&gt;
&lt;P&gt;subtype= $subtype&lt;/P&gt;
&lt;P&gt;type= $type&lt;/P&gt;
&lt;P&gt;severity= $number-of-severity&lt;/P&gt;
&lt;P&gt;Time= $cef-formatted-receive_time&lt;/P&gt;
&lt;P&gt;Serial= $serial&lt;/P&gt;
&lt;P&gt;Device Name= $device_name&lt;/P&gt;
&lt;P&gt;Module= $module&lt;/P&gt;
&lt;P&gt;Message= $opaque&lt;/P&gt;
&lt;P&gt;Sequence Number= $seqno&lt;/P&gt;
&lt;P&gt;Event Type= $eventid&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Object= $object&lt;/P&gt;
&lt;P&gt;PanOSDGl1= $dg_hier_level_1&lt;/P&gt;
&lt;P&gt;PanOSDGl2= $dg_hier_level_2&lt;/P&gt;
&lt;P&gt;PanOSDGl3= $dg_hier_level_3&lt;/P&gt;
&lt;P&gt;PanOSDGl4= $dg_hier_level_4&lt;/P&gt;
&lt;P&gt;PanOSVsysName= $vsys_name&lt;/P&gt;
&lt;P&gt;Virtual System= $vsys&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/LI&gt;
&lt;LI&gt;Click Send Test Log&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture48.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10771i611E87CA6B6E475E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture48.png" alt="Picture48.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Check to assure your email was received:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture49.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10772i7294DDDB6D27D5B2/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture49.png" alt="Picture49.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Click OK&lt;/LI&gt;
&lt;LI&gt;Click OK&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Configure Log Forwarding for Desired Log Types&lt;/H3&gt;
&lt;P&gt;For this example, we will configure the system log forwarding.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to Device-&amp;gt;Log Settings.&lt;/LI&gt;
&lt;LI&gt;Under &lt;STRONG&gt;System&lt;/STRONG&gt; click &lt;STRONG&gt;Add&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Enter a name in the &lt;STRONG&gt;Log Settings – System&lt;/STRONG&gt; window (e.g. ‘fwd to email’).&lt;/LI&gt;
&lt;LI&gt;In the filter area, use the filter builder to create a filter for system logs that you would like forwarded to your inbox (e.g. ‘description contains commit’).&lt;/LI&gt;
&lt;LI&gt;Click OK, commit the changes.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Testing and Troubleshooting&lt;/H3&gt;
&lt;P&gt;If you used the ‘description contains commit’ filter above, you can test your configuration by committing a change on your firewall.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Troubleshooting:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Mailgun offers a set of logs displaying any successful emails sent:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture50.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10773i0F5E713B6DB7A39F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture50.png" alt="Picture50.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;If you have custom service routes, check to make sure the service route for “HTTP” is configured to allow the firewall or Panorama reach the API service:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture51.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10774i5BEFA13117C8CF4B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Picture51.png" alt="Picture51.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Created by Jamie Fitz-Gerald&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 20:56:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/log-forwarding-articles/configure-filtered-e-mail-forwarding/ta-p/171492</guid>
      <dc:creator>rkemburu</dc:creator>
      <dc:date>2022-07-07T20:56:55Z</dc:date>
    </item>
  </channel>
</rss>

