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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...