We have a customer that is collecting Check Point fw, ips, and vpn logs via Opsec. Check Point version is R77.
At the moment, Splunk is indexing about 30 gigabyte per day. If we look at the log directory at Check Point smartcenter, we only see something about 3 gigabytes (rotating every 2GB) for the specific day, but Splunk has indexed 30 gigabytes.
I found out that Check Point logs are written in binary, but are they also saved in a compressed way?
Does anybody know how the OPSEC script from Splunk is pulling the logs? Is it just reading the files or is there an APIcall directly to the smart center? How can we check why we have this gab between the logs files on the system and the indexed log volume?
Thanks in advance
from what I understand, the logs are stored in a proprietary format that can only be accessed by using OPSEC or the 'fw log' command.
If you happen to be finding inconsistencies in gathering FW log data from the Check Point manager, you may want to open a support case to have an AWESOME Engineer check for underlying issues with the App o Forwarder.
Actually I've performed cross-data tests between Splunk and Checkpoint Managent Console and it seems to be fine, no inconsistencies atm.
Sup mate, I'm facing the same issue here.
Compressed files on Checkpoint SC are roughly 5~6 GBs per day but Splunk is consuming 20 GBs +/- per day. Any explanation for this behavior?
I can write down what I have found out in my research.
You can have a look in a few minutes.
I have done some research at this topic...
What the OPSEC TA will do:
It will run a script that may is referencing to the internal log files stored at the disk or it will pull everything with the special 'fw log' command.
But that doesn't matter at all. Because the information that is stored in the log files are csv based and compared to the OPSEC TA data, most of the fields in the log files are missing.
Here is an example:
At the end these two things are the reason why there is such a big difference between the size of log files on the disk of the CP Smart Center and those generated via TA OPSEC.
It will definitely be helpful if TA OPSEC will provide a delimiter based event structure just to save some volume.
But at the other hand I have heard that Check Point will offer Syslog funtionality in the future and the whole OPSEC thing will be obsolete.
If you are good at coding, you can change the TA OPSEC script to generate a shorter delimiter based format as well.
@ btiggemann, Thank you so much for your time and explanation.