Configuring Palo Alto Connector
Palo Alto Firewall Connector System Requirements
Ensure that the following requirements are met before configuring the connector:
- A Linux or macOS machine with a static IP address.
- RAM: 4 GB or more.
- CPU: 2 vCPUs or more.
- Disk space: 100 GB or more.
curlmust be installed.
Configuring the Palo Alto Connector
- Go to Connector > Ingestion.
- Select Palo Alto Firewall Connector.
- Click Configure.
- For Enable Palo Alto Firewall Events?, select Yes.
- Click Validate and Save.
- Copy and save the generated token. You need this token when installing the ES Agent.
Installing the Palo Alto ES Agent
The Fleet URL depends on the stack on which the tenant is hosted.
| Stack | Fleet URL |
|---|---|
| Stack 1 | https://elk-next-fleet-1.seqrite.com:443 |
| Stack 2 | https://elk-next-fleet-2.seqrite.com:443 |
| Stack 3 | https://elk-next-fleet-3.seqrite.com:443 |
| Stack 4 | https://elk-next-fleet-4.seqrite.com:443 |
Ensure that the prepared Linux or macOS machine meets the system requirements before installing the ES Agent.
- Open a terminal on the Linux or macOS machine.
- Replace
<Token>with the token generated during connector configuration. - Run the following command:
sudo bash
mkdir PaloAlto_es_agent
cd PaloAlto_es_agent
curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.17.9-linux-x86_64.tar.gz
tar xzvf elastic-agent-8.17.9-linux-x86_64.tar.gz
cd elastic-agent-8.17.9-linux-x86_64
sudo ./elastic-agent install --url=https://elk-next-fleet-1.seqrite.com:443 --insecure --enrollment-token=<Token>
Note: Use the appropriate Fleet URL based on the tenant's stack.
Configuring the Palo Alto Firewall
Before configuring the firewall, ensure that the Palo Alto ES Agent is up and running.
-
Log in to the Palo Alto firewall interface.
-
Go to Logs & Report > Log Settings.
-
Under Global Settings, enable the following logging options:
- Address
- Event
- Local Traffic
- Syslog
-
Enter the IP address of the Linux or macOS machine on which the ES Agent is installed.
-
Use UDP port 9001 for event log forwarding.
-
Click Apply.
After completing the configuration, alerts are automatically generated in the XDR portal. This indicates that the Palo Alto Firewall connector is configured successfully.
Uninstalling the Palo Alto ES Agent
After deleting the Palo Alto Firewall connector configuration from the XDR portal, uninstall the ES Agent from the Linux or macOS machine.
Run the following commands:
sudo elastic-agent uninstall
sudo rm -rf elastic-agent-8.17.9-linux-x86_64
sudo rm -f elastic-agent-8.17.9-linux-x86_64.tar.gz
sudo rm -rf /opt/Elastic/Agent
sudo rm -rf /etc/elastic-agent
sudo rm -rf /var/lib/elastic-agent
sudo rm -rf /var/log/elastic-agent