Splunk Search

lea_loggrabber functionality

Wilf
Explorer

I need to understand how the “lea-loggrabber-splunk-linux-4x-42928” application functions.

I need to ensure that if a link between Splunk and the Checkpoint SMART Centre goes down, when it comes back up (maybe days later), that Splunk will go back to where it left off and not lose any events (unless of course Checkpoint has deleted the Log).
This is the functionality I am informed would be required.

In lea _new _session you choose to read in online mode and choose to start reading where they left off, say at position x in log file ID x, then the client reads to the end of file of that log file and then begins at the start of the next file in the fw.logtrack file until they have reached the end of the most recent log file. At that point, the LEA client waits for new events.

Can anyone confirm this is how it works?

Thanks

 Wilf
Tags (2)
1 Solution

Chubbybunny
Splunk Employee
Splunk Employee

the splunk lea client tracks the last position of Check Point log it has received in a cache file located in $SPLUNK_HOME/etc/apps/lea-loggrabber-splunk/lea_log_rec_num.cache

If for whatever reason the lea_loggrabber client is unable retrieve logs from the lea server, the lea client will begin where it last left off based on the last record in the cache file (once communication has been reestablished).

View solution in original post

Chubbybunny
Splunk Employee
Splunk Employee

the splunk lea client tracks the last position of Check Point log it has received in a cache file located in $SPLUNK_HOME/etc/apps/lea-loggrabber-splunk/lea_log_rec_num.cache

If for whatever reason the lea_loggrabber client is unable retrieve logs from the lea server, the lea client will begin where it last left off based on the last record in the cache file (once communication has been reestablished).

Wilf
Explorer

Thanks - Covers all I needed

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...