Hi,
We are migrating away from LogLogic to Splunk for log management. We have a requirement to get the feed from checkpoint Opsec feed in real-time. Does anyone know of any tool (splunk or otherwise) that can perform this function? Does splunk have any plans to provide this functionality?
If you want to bring Check Point logs into Splunk as close to real-time as possible, you'll want to run fw1-loggrabber outside of Splunk and have it write the Check Point log stream(s) to disk. I had great success using the method below to bring up to eight independent Check Point log streams into Splunk at one time.
My lag was < 1 sec.
I intend on writing up a much more thorough document that describes all of the challenges one faces when dealing with Check Point logs, but I'll have to save that for another time. As a result, this procedure will only handle a single Check Point log stream. If you'd like to hear how I scaled out to eight streams put your request in as a comment below this post.
Pre-requisites:
Here's a high-level view of the steps you'll need to take:
Low-level details:
OUTPUT_FILE_PREFIX="/var/log/fw1-loggrabber"
OUTPUT_FILE_ROTATESIZE=536870912
ONLINE_MODE = "yes"
RESOLVE_MODE = "no"
$ /usr/local/fw1-loggrabber/bin/fw1-loggrabber –c /usr/local/fw1-loggrabber/etc/fw1-loggrabber.conf –l /usr/local/fw1-loggrabber/etc/lea.conf
$ service fw1-loggrabber restart
$ systemctl status fw1-loggrabber.service
Is this a different tool than the lea-loggrabber.sh? If so, how?
It is important that you test this in your non-prod environment first. But LogLogic uses a similar LEA client approach that Splunk uses (see attached). The problem could very well be that the config file has "ON-LINE MODE" set to false. It is set to no-online by default. As far as I understand it online mode set to no-online does not enable real time collection.
If you have your admin run help on the fw1-loggrabber they will see that there is an option for —online|--no-online. Again, please fully consider how on-line mode will effect production by fully testing it in a development environment first. If you have the horse power on the box, you should be able to change this to —online and Splunk will index in real-time.
$SPLUNKHOME/etc/apps/fw1-loggrabber/bin/fw1-loggrabber —help
Nice one Dave, and thanks! Voting this one up.
Splunk support an OPSEC Log Export API - take a look at:
http://splunk-base.splunk.com/apps/22386/opsec-lea-for-check-point-linux
Br
Dave
I see that others have commented on the product integration, and with some success. Whether their needs are quite so immediate is not clear, but in this environment they usually are (ours are, or to quote some squirrely terms from contracts 'as near real-time as possible').
I don't know the answer re turbo-ing the script (and am assuming you have thought of, or already use forwarders?)but you may be best supported by Splunk Support by raising a ticket with them, unless some of the other guys on here can comment? Good luck. I'll follow this with interest.
The script wakes up every XX seconds - that's the lag. The data is used by our security team (different group, different tool), who need it in real-time.
Interesting...because we are about to do the same. Where is the 'lag'? What is your business driver - I ask because if it's Remote Monitoring slanted e.g. traps / alarms you could use 'tool of your choice' and use Splunk as the single pane of glass with some integration work.
That's what we are using - it's not real-time.