Knowledge Management

Splunk add-on for Checkpoint not extracting fields

Navanitha
Path Finder

I have Splunk SH Cluster ( 3 SH's in Cluster)  and we are collecting Checkpoint logs using Syslog and then Splunk HF read the Checkpoint logs (basically a flat file) and indexes into Splunk.  Now my issue is I see the events are extracted as it should when we use an add-on.  However I do not see any Checkpoint app/add-on this is installed on SH's / HF.  No manual field extractions either.  I would like to know if there is any away to check how the fields are extracted ?

Secondly, We also have a separate SH running ES.  On this, I don't see the events being extracted as I see it on our SH cluster.  I did try to install Splunk Add-on for Checkpoint to parse the fields and make it CIM compliant but the fields are not extracted.  I changed the sourcetype of the CP logs to match it with the add-on but still no luck.  I am using Splunk Add-on for Check Point Log Exporter.  Appreciate your thoughts on this.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Navanitha,

what's the sourcetype of your checkpoint data?

usually it's renamed and fields extractions are related to the new sourcetypes.

This means that you have to install the CheckPoint Add on, both on SH and HF.

In addition, you have to associate to the checkpoint input the sourcetype "cp_log" so the Add-on can correctly modify the sourcetype.

Read the instructions on the Checkpoint Add-On, which one are you using?

Ciao.

Giuseppe

0 Karma

Navanitha
Path Finder

Hi @gcusello 

 

I am using "Splunk Add-on for Check Point Log Exporter" from https://splunkbase.splunk.com/app/5478.

I installed this on splunk SH and  did rename sourcetype on Splunk HF to "cp_log:syslog" as per the add-on. 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Navanitha,

try to install it also on HF.

Ciao.

Giuseppe

0 Karma

Navanitha
Path Finder

I tried installing the add-on on HF but no luck.  I am working with Splunk support on this and they figured that the KV store for Checkpoint add-on is not loading as the regex is not matching our events.  They are working on giving me a regex, will try it out once I have it.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Navanitha ,

publish the solution when you'll solve for the other people of Community.

Ciao.

Giuseppe

P.S.: Karma Points are appreciated 😉

nguyens
New Member

Hi,

i was facing the same issue. I have changed under transforms.conf the following:

[kv_cp_log_format]
REGEX = ([a-zA-Z0-9_-]+)[:=]+([^|]+)

[kv_cp_syslog_log_format]
REGEX = ([a-zA-Z0-9_-]+)[:=]+"((?:[^"\\]|\\.)+)"

 

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...