Forward Logs from Cortex Data Lake to an HTTPS Server
Learn how to forward logs from Cortex Data Lake to an HTTPS server.
To meet your long-term storage, reporting and monitoring, or legal and compliance needs, you can configure Cortex Data Lake to forward logs to an HTTPS server or to services that receive events through HTTPS, such as Splunk HTTP Event Collector (HEC).
For successful log transmission to an HTTPS receiver, ensure that the receiver
- Accepts and decompresses GZIP HTTPS payloads. Cortex Data Lake compresses the JSON data using GZIP when forwarding through HTTPS.
- Accepts a batch size of 500 logs, or 2.25 MB (500 logs x 4500B/log = 2.25MB).
For each instance of Cortex Data Lake, you can forward logs to ten destinations.
Cortex Data Lake communicates with the receiver using TLS, and upon connection Cortex Data Lake validates that the receiver has a certificate signed by a trusted root CA or a private CA. To complete the TLS handshake and establish the connection, the receiver must present all the certificates from the chain of trust.
- Enable communication between Cortex Data Lake and your HTTPS receiver.Ensure that your HTTPS receiver can connect to Cortex Data Lake and can present a valid certificate to complete the connection request.
- Allow an inbound TLS feed to your HTTPS receiver from the following IP address ranges:United States - Americas184.108.40.206/28Netherlands - Europe220.127.116.11/28United Kingdom18.104.22.168/28SG (Singapore)22.214.171.124/28CA (Canada)126.96.36.199/28JP (Japan)188.8.131.52/28AU (Australia)184.108.40.206/28United States - Government220.127.116.11/28If you have allowed specific IP addresses for inbound traffic, you must also allow the above IP address ranges to forward logs to your HTTPS receiver.
- Obtain either a certificate from a well-known, public CA or a self-signed certificate and install it on your receiver.Because Cortex Data Lake validates the server certificate to establish a connection, you must verify that the receiver is configured to properly send the TLS certificate chain to Cortex Data Lake. If the app cannot verify that the certificate of the receiver and all CAs in the chain are trustworthy, the connection cannot be established. See the list of trusted certificates.
- Sign Into the hub at https://apps.paloaltonetworks.com/.
- Select the Cortex Data Lake instance that you want to configure for HTTPS forwarding.If you have multiple Cortex Data Lake instances, click the Cortex Data Lake tile and select an instance from the list of those available.
- Selectto add a new HTTPS forwarding profile.Log ForwardingAdd
- Enter a descriptiveNamefor the profile.
- Enter theURLfor the HTTPS receiver.The URL entered must begin withhttps. At the end of the top-level domain, you can specify a port number. If no port is specified, the default is 443.
- (Optional) Enable Client Authentication.Do this if you are forwarding logs to Splunk HEC, or if your HTTPS receiver requires a username and password.
- If you are forwarding logs to HEC, leave Splunk Basic Authentication selected and enter your HEC token.
- If you are configuring client authentication for an HTTPS server, select Basic Authentication and specify a username and password.
- Test Connectionto ensure that Cortex Data Lake can communicate with the receiver.This sends an empty log to the configured destination to verify that transmission is possible.If the test fails, you will not be able to proceed.
- (Optional)Uploadthe private CA certificate used to sign the server certificate.Only do this if you installed a self-signed certificate on your receiver. The file containing the certificates must be in PEM format.
- In STATUS NOTIFICATION, enter an email address where you will be notified of any changes in log transmission status, such as if log forwarding stops.
- Enter a unique PROFILE TOKEN if your receiver needs to distinguish logs coming from different tenants.
- Select the logs you want to forward.
- Adda new log filter.
- Select the log type.The Threat log type does not include URL logs or Data logs. If you wish to forward these log types, you must add them individually.
- (Optional)Create a log filter to forward only the logs that are most critical to you.You can either write your own queries from scratch or use the query builder. You can also select the query field to choose from among a set of common predefined queries.If you want to forward all logs of the type you selected, do not enter a query. Instead, proceed to the next step.
- Saveyour changes.
- Saveyour changes.
- Verify that theStatusof your HTTPS forwarding profile isRunning( ).Immediately after creating or editing your profile, theStatusmay beProvisioningfor up to 10 minutes.
- Verify that you can view logs on the HTTPS receiver.
Recommended For You
Recommended videos not found.