Palo Alto
LogZilla App Store application: Palo Alto
PanOS
Prerequisites
The PAN-OS sources must be configured properly in order for these rules to work.
Configure the device to include its IP address in the header of Syslog messages
-
Select
Panorama/Device > Setup > Management
-
Click the Edit icon in the
Logging and Reporting Settings
section and navigate to theLog Export and Reporting
tab. -
In the
Syslog HOSTNAME Format
drop-down selectipv4-address
, then clickOK
. -
Select
Server Profiles > Syslog
clickAdd
-
Enter a server profile
Name and Location
(location refers to a virtual system, if the device is enabled for virtual systems). -
In the
Servers
tab, clickAdd
and enter a Name, IP address (Syslog Server
field),Transport
,Port
(default 514 for UDP), andFacility
(default LOG_USER) for the Syslog server. -
Select the
Custom Log Format
tab and selectThreat
, then paste the following values in the Custom Log Format area:PaloAlto_Threat type="$type" src="$src" dst="$dst" rule="$rule" srcuser="$srcuser" sessionid="$sessionid" action="$action" misc="$misc" dstloc="$dstloc" referer="$referer" http_method="$http_method" http_headers="$http_headers"
-
Select the
Custom Log Format
tab and selectTraffic
, then paste the following values in the Custom Log Format area:PaloAlto_Traffic type="$type" src="$src" dst="$dst" natsrc="$natsrc" natdst="$natdst" rule="$rule" srcuser="$srcuser" from="$from" to="$to" sessionid="$sessionid" sport="$sport" dport="$dport" natsport="$natsport" natdport="$natdport" proto="$proto" action="$action" bytes="$bytes" packets="$packets" dstloc="$dstloc" action_source="$action_source"
-
Save and commit your changes.