Configure log sources to send third-party logs in Common Event Format (CEF) syslog format to Trend Vision One for analysis and correlation.
ImportantThis is a pre-release sub-feature and is not part of the existing features of an official
commercial or general release. Please review the Pre-release sub-feature disclaimer before using the sub-feature.
|
Procedure
- Install the Third-Party Log Collection Service on a Service Gateway virtual appliance.
- Go to .
- Click the name of the Service Gateway you want to manage.
Note
Make sure that your selected Service Gateway virtual appliance meets the minimum specifications required to support the Third-Party Log Collection Service. The minimum requirements are 1 virtual CPU and 128 MB of virtual memory, which supports sending 30,000 logs per second.When configuring multiple services, you must allocate the minimum virtual CPU and virtual memory requirement per service to ensure proper functionality.For more information, see Service Gateway appliance system requirements.If you have no existing Service Gateways, you must first deploy a Service Gateway.The Service Gateway screen appears. - Click Manage Services.The Manage Services window appears.
- Find the Third-Party Log Collection Service and click the install icon ().For more information, see Managing services in Service Gateway.
The Third-Party Log Collection Service is installed on the Service Gateway. - If the third-party log source needs to validate the Service Gateway certificate, upload
a certificate to the virtual appliance.
-
Only PKCS#1 certificates are supported.
-
The certificate must contain both
RSA PRIVATE KEY
andCERTIFICATE
.
- To ensure that the private key is not encrypted, use the following script to decrypt
and regenerate the certificate PEM file before importing:
#!/bin/bash # Check if exactly 2 parameters are provided if [ "$#" -ne 2 ]; then echo "Warning: You must provide exactly 2 parameters." echo "Usage: $0 <<original>>.pem <<decrypted>>.pem" exit 1 fi # Parameters INPUT_PEM=$1 OUTPUT_PEM=$2 TEMP_CERT="temp_cert.pem" TEMP_KEY="temp_key_encrypted.pem" TEMP_KEY_DEC="temp_key_decrypted.pem" # extract cert openssl x509 -in "$INPUT_PEM" -out "$TEMP_CERT" # extract key openssl pkey -in "$INPUT_PEM" -out "$TEMP_KEY" # decrypt key openssl rsa -in "$TEMP_KEY" -out "$TEMP_KEY_DEC" # combine cert and decrypt key into new PEM cat "$TEMP_CERT" "$TEMP_KEY_DEC" > "$OUTPUT_PEM" # clear temp rm "$TEMP_CERT" "$TEMP_KEY" "$TEMP_KEY_DEC" echo "New pem generated.New filename = "$OUTPUT_PEM"
- Confirm that the certificate format is as follows:
-----BEGIN CERTIFICATE----- (base64....) -----END CERTIFICATE----- -----BEGIN PRIVATE KEY----- (base64....) -----END PRIVATE KEY-----
- In Service Gateway Management, click the Configure settings icon () next to the Service Gateway.The Service Gateway Settings window appears.
- Click Import certificate.
- Click Select file… and select your certificate file.
- Click Import.For more information, see Configuring Service Gateway settings.
- Click Save.The certificate is uploaded to the virtual appliance.
-
- Add a log source to Third-Party Log Collection.
- Go to .
- Click Third-Party Log Collection.
- Click + Add Log Source.The Log Source Settings window appears.
- Configure settings for the new log source:
-
Specify a Name for the log source.
-
Select a Service Gateway virtual appliance from the drop-down menu.
Note
Only Service Gateways with the Third-Party Log Collection Service installed appear in the list. -
Make sure that the log source has at least one log collector configured.If none exist, add a log collector.
-
- Specify Sender IP addresses for the third-party logs, using commas to separate multiple values.
- Click Save.
- On the third-party platform, configure the log source to send third-party logs to
Trend Vision One.Logs are sent in CEF format via Transport Layer Security (TLS) to the IP address and port of the selected Service Gateway appliance.For details on configuring the Palo Alto Networks Next-Generation Firewall integration, see Palo Alto Networks documentation.Third-party logs become available in the Search app. Third-party log sources can only send logs generated after connecting to Trend Vision One. You might need to allow some time before new logs start to appear.
- Verify log ingestion in Service Gateway Management.
- Go to .
- Click the Service Gateway selected for the new log source.
- Go to Connected Products/Server.
- Click Third-Party Log Collection Service to view the service status.
- Go to the Search app to view collected third-party logs.