Dashboards & Visualizations

Linemerging timer?

bojanz
Communicator

Does Splunk have an internal timer when doing line merging?

For example, if I'm doing line merging (SHOULD_LINEMERGE=true) with correct date parsing field, and events start flowing in, what happens if there is a long pause (i.e. 15 seconds) in the source application before creating the log that the Universal forwarder reads.

For example, something like this (time in first column is added by me to show when the line happened):

10:00:00 Log first line
10:00:00 Log second line (same event)
10:00:18 Log third line (same event, but the app logged this 18 sec later)

How long does Splunk wait to concatenate lines into single events?

Tags (1)
0 Karma

sdaniels
Splunk Employee
Splunk Employee

This might be a useful setting for you in this case.

Inputs.conf.spec:

time_before_close =
* Modtime delta required before Splunk can close a file on EOF.
* Tells the system not to close files that have been updated in past seconds.
* Defaults to 3

0 Karma

bojanz
Communicator

Looks interesting, I'll test it and report back 🙂

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 ...