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

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...