Palo Alto Networks Knowledgebase: Session Log Best Practices

Session Log Best Practices

3275
Created On 02/07/19 23:46 PM - Last Updated 02/07/19 23:47 PM
Resolution

Session logging is a useful troubleshooting tool for debugging policy problems.

 

When creating or editing a security rule, an option to log the transaction is available with two options, Log at Session Start or Log at Session End.

2016-09-20_12-03-22.jpg

 

For regular logging, the best practice is to log at session end. The reason for that is that applications are likely to change throughout the lifespan of the session. Facebook for example will start as web-browsing and change to Facebook-base after the firewall recognized the application. Logging at Session Start would only show web-browsing which might lack important information if policy rules include facebook-base as application.

 

Logging at session start is usually used when troubleshooting applications that don't change over the course of the session, or applications that aren't recognized by the firewall.

 

It is not recommended to log both at session start and at session end as this puts extra load on the management plane's CPU.

 

owner: nayubi



Attachments
Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000Clt5CAC&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Attachments
Choose Language