SPLK-1003 practice question 2 of 25

Which setting allows the configuration of Splunk to allow events to span over more than one line?

Full set: 188 questions
Answer options
A: SHOULD_LINEMERGE = true Correct answer
B: BREAK_ONLY_BEFORE_DATE = true
C: BREAK_ONLY_BEFORE =
D: SHOULD_LINEMERGE = false
Correct Answer:
A. SHOULD_LINEMERGE = true
Explanation

The SHOULDLINEMERGE attribute in props.conf is the primary setting that controls Splunk's line merging behavior during the data input phase. By default, it is false, and Splunk treats every line as a distinct event. Setting SHOULDLINEMERGE = true instructs Splunk to group lines into a single event based on other configured line-breaking rules (like BREAKONLYBEFORE or LINEBREAKER). This is the fundamental setting required to process any data source that has events spanning multiple lines, such as Java stack traces or multi-line log entries.

Why Incorrect

B. BREAKONLYBEFOREDATE = true: A specific line-breaking rule that is only effective if SHOULDLINEMERGE is already set to true.
C. BREAKONLYBEFORE =: A setting that defines a regex for a line break, but it also requires SHOULDLINEMERGE = true to be active.
D. SHOULDLINEMERGE = false: This explicitly disables multi-line event processing, which is the opposite of the desired outcome.

References

- Splunk Enterprise, Getting Data In Manual, "Configure event line breaking", Section: "The props.conf file". This section explains that SHOULDLINEMERGE must be set to true to enable multi-line event aggregation.

- Splunk Enterprise, Admin Manual, "props.conf". The specification for props.conf defines SHOULDLINEMERGE as the boolean attribute that enables or disables the line-merging process.

Scroll to Top