Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

HOWTO: How do I continue logging when Check Point Firewall log files need to be rotated?

Expand / Collapse


This article applies to:

  • Firewall Suite

Question:

How do I continue logging when Check Point Firewall log files need to be rotated?

Procedure:

When rotating the log file for a Check Point firewall, below are the proper steps to follow.

  1. Stop the LEA Server service.
  2. Delete the lastrecord.txt files in the log file directory, located below:

      <Installation Directory>\LeaCache\x_x_x_x.dat

      [where x_x_x_x is the internal IP for the firewall]

      During the configuration of the LEA Service or when configuring the profile that utilizes this service the log file location can be configured to use a location other than the default location above. If this option was used, remove the lastrecord.txt files from the location specified in the custom configuration.

      Note: There will always be a lastrecord.txt file, and there may be a second file with a name beginning with "lastrecord" if the log files are being logged.

  3. Rotate the log file on the Check Point firewall.
  4. Start the LEA Server service.

Notes:

When Firewall Suite retrieves log file information via the LEA connection with a Check Point Firewall, the last record received in a file called lastrecord.txt is always kept. When the log file is rotated on the Check Point Firewall, this record will not be present in the new log file, and the retrieval process will not be able to retrieve new information, as it does not know where it left off. By deleting the lastrecord.txt file, and by restarting our LEA service, the data retrieval process can be reset to properly receive data from a newly created log file.

This article was previously published as:
NETIQKB1619

To contact Trustwave about this article or to request support:


Rate this Article:
     
Tags:

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.