Palo Alto
LogZilla App Store application: Palo Alto
Overview
Palo Alto Networks PAN-OS is a next-generation firewall operating system that provides advanced threat prevention, application visibility and control, and user identification capabilities. PAN-OS devices generate comprehensive security logs for network traffic analysis and threat detection.
App Function
The Palo Alto PAN-OS app processes firewall logs and extracts security information for network monitoring, threat analysis, and compliance reporting. The app supports both Traffic and Threat log types with custom formatting.
Vendor Documentation
Configuration Requirements
IMPORTANT: PAN-OS devices must be configured with custom log formats for proper parsing by the LogZilla Palo Alto app.
Configure Syslog Hostname Format
- Navigate to
Panorama/Device > Setup > Management - Click the Edit icon in
Logging and Reporting Settingssection - Go to the
Log Export and Reportingtab - Set
Syslog HOSTNAME Formattoipv4-address, then clickOK
Configure Syslog Server Profile
- Navigate to
Server Profiles > Syslogand clickAdd - Enter server profile
Name and Location(location refers to virtual system if enabled) - In the
Serverstab, clickAddand configure:- Name: Descriptive name for LogZilla server
- Syslog Server: LogZilla server IP address
- Transport: TCP (recommended) or UDP
- Port: 514 (default) or custom port
- Facility: LOG_USER (default)
Configure Custom Log Formats
Threat Log Format
Select Custom Log Format tab, choose Threat, and paste:
textPaloAlto_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"
Traffic Log Format
Select Custom Log Format tab, choose Traffic, and paste:
textPaloAlto_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 all configuration changes
Parsed Metadata Fields
Threat Log Fields
| Tagged | Field Name | Example | Description |
|---|---|---|---|
| ☑ | type | THREAT | Log type identifier |
| ☑ | src | 192.168.1.100 | Source IP address |
| ☑ | dst | 10.0.1.50 | Destination IP address |
| ☑ | rule | Allow-Web | Security rule name |
srcuser | domain\user | Source username | |
sessionid | 12345 | Session identifier | |
| ☑ | action | allow | Action taken |
misc | additional-info | Miscellaneous information | |
dstloc | US | Destination location | |
referer | https://example.com | HTTP referer | |
http_method | GET | HTTP method | |
http_headers | User-Agent: ... | HTTP headers |
Traffic Log Fields
| Tagged | Field Name | Example | Description |
|---|---|---|---|
| ☑ | type | TRAFFIC | Log type identifier |
| ☑ | src | 192.168.1.100 | Source IP address |
| ☑ | dst | 10.0.1.50 | Destination IP address |
natsrc | 203.0.113.1 | NAT source IP | |
natdst | 203.0.113.2 | NAT destination IP | |
| ☑ | rule | Allow-Web | Security rule name |
srcuser | domain\user | Source username | |
from | trust | Source zone | |
to | untrust | Destination zone | |
sessionid | 12345 | Session identifier | |
sport | 54321 | Source port | |
dport | 443 | Destination port | |
natsport | 12345 | NAT source port | |
natdport | 443 | NAT destination port | |
proto | tcp | Protocol | |
| ☑ | action | allow | Action taken |
bytes | 1024 | Bytes transferred | |
packets | 10 | Packets transferred | |
dstloc | US | Destination location | |
action_source | from-policy | Action source |
High-Cardinality (HC) Tags
src(Source IP)dst(Destination IP)rule(Security Rule)action(Action Taken)
Log Examples
Threat Log Example
textPaloAlto_Threat type="THREAT" src="192.168.1.100" dst="203.0.113.50" rule="Allow-Web" srcuser="domain\jdoe" sessionid="54321" action="alert" misc="" dstloc="US" referer="https://example.com" http_method="GET" http_headers="User-Agent: Mozilla/5.0"
Traffic Log Example
textPaloAlto_Traffic type="TRAFFIC" src="192.168.1.100" dst="203.0.113.50" natsrc="203.0.113.1" natdst="203.0.113.50" rule="Allow-Web" srcuser="domain\jdoe" from="trust" to="untrust" sessionid="54321" sport="54321" dport="443" natsport="12345" natdport="443" proto="tcp" action="allow" bytes="2048" packets="15" dstloc="US" action_source="from-policy"