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

Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...