Topics Discussed
...
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
You can use this document to add a remote log collector to a Check Point remote device (log source).
Pre-Deployment Considerations
...
Log into the Check Point box via Secure Shell (SSH).
Enter the "expert" command to access Expert mode, then follow the onscreen prompts to enter your credentials:
Enter the following command to configure the log exporter to send the logs to the log relay:
Anchor step-3a step-3a Code Block cp_log_export add name <exporter name> enabled true target-server <log relay ip address> target-port 10003 protocol tcp format leef read-mode semi-unified
In <exporter name>, insert the name that you wish to use for the log exporter, with no spaces.
For example: Armor_Exporter
In <log relay ip address>, insert the IP address of the log relay box.
An example of the full command is shown below:
Note The exporter will not start immediately.
To start the exporter, enter the following command:
Code Block cp_log_export restart name <exporter name>
In <exporter name>, insert the name of the exporter that was used in step 3a.
An example of the full command is shown below:
Navigate to the directory that was created when you created the log exporter.
Anchor step-5c step-5c To find this directory, run the following command:
Code Block cd /; find . | grep -i <exporter name>
Replace the LeefFieldsMapping.XML file with the following .xml file: leeffieldmapping.xml.
Navigate to the conf directory, and replace the LeefFormatDefinition.XML file with the following .xml file: LeefFormatDefinition.xml.
An example of the full command is shown below:
Restart the Check Point Log Exporter by running the following command:
Code Block cp_log_export restart name <log_exporter_name>
An example of the full command is shown below:
In the Check Point web GUI, go to System Management, then System Logging.
Select the Send Syslog messages to management server checkbox.
In the Remote System Logging box, add the IP address of the log relay.
Keep Send Logs from Priority Level set to All.
...