Getting Data In

Import Checkpoint Archive Logs

keithosullivan
New Member

I have checkpoint logs going back which we have exported of our checkpoint FW, and i would like to import them into splunk. I have installed the opsec-lea module, but i would rather not setup the connectivity to our fw and just analyse the logs, is this possible?

Many thanks in advance.

Tags (1)
0 Karma

keithosullivan
New Member

Thanks Brian and Trey. I tried importing from a file and it fails with an object error (not much help i know), however i presume this is because the logs i have are all in binary format as you say Trey. Is the easiest way to convert them to load them back onto the checkpoint, convert and back again into splunk (either by solitary file or into a temp directory). The problem i suppose is all my logs are in binary format.

Many thanks

0 Karma

treyka
Path Finder

fw log -p -n -l -o [logfile] should give you what you want - but refer to Checkpoint's documentation to be sure.

0 Karma

treyka
Path Finder

On your Checkpoint side I recommend that you use the 'fw log' command to dump each logfile to text. (Checkpoint natively stores its logs in a binary format.) Use a little shell globbing and a for loop and you should be able to easily get these into text format. Scp to your Splunk server and go with Brian's option #2.

Cheers, --Trey

Brian_Osburn
Builder

I can speak to the importing portion of the question.

There's several different ways you can import the logs:

  1. You can pull the logs down from the Firewall and do a manual import into Splunk
  2. You can pull the logs over to a temp directory on the Splunk server itself and set up an input to feed those files into Splunk.

I'd go with option #2, as this will probably be the quickest way to achieve what you want. When you're done, you can either nuke the input settings or leave them there in case you want to do this again.

Brian

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...