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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...