Installation

trouble with checkpoint logs

josevg1981
Explorer

Hi everyone,

We have the following setup:

  1. Check Point Firewall is configured to send logs via syslog over UDP (port 514).

  2. Logs are received by a Linux server running rsyslog.

  3. rsyslog writes these logs to a local file (e.g., /var/log/CheckPoint.log).

  4. Splunk (on the same server) reads this file and indexes the logs

Although the Check Point firewall sends complete logs (visible in tcpdump, including structured data and original timestamps), only a truncated version of the log is written to the file by rsyslog. Specifically:

  • The structured message body is missing.

  • Only the syslog header (timestamp, hostname, program name) appears in the file.

Can anyonehelp !! 

Ty 

Labels (2)
0 Karma
1 Solution

livehybrid
SplunkTrust
SplunkTrust

Hi @josevg1981 

It sounds like this is an rsyslog configuration issue, rather than a Splunk problem however I'll do my best to help. 

Check your rsyslog configuration and verify message size limits in /etc/rsyslog.conf - what is your $MaxMessageSize? Try increasing:

$MaxMessageSize 64k

Check for any template formatting that might be stripping content, does the template output the %msg% content?

# Look for custom templates that only capture certain fields
$template CheckPointFormat,"%timestamp% %hostname% %programname%: %msg%\n"

 

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

View solution in original post

josevg1981
Explorer

Hi livehybrid : 

 

Ty , i try to change the default template for this  Template="RSYSLOG_SyslogProtocol23Format" and now it works !!!! Ty for thew help

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @josevg1981 

It sounds like this is an rsyslog configuration issue, rather than a Splunk problem however I'll do my best to help. 

Check your rsyslog configuration and verify message size limits in /etc/rsyslog.conf - what is your $MaxMessageSize? Try increasing:

$MaxMessageSize 64k

Check for any template formatting that might be stripping content, does the template output the %msg% content?

# Look for custom templates that only capture certain fields
$template CheckPointFormat,"%timestamp% %hostname% %programname%: %msg%\n"

 

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...