SPLK-1003 · Question #30
For single line event sourcetypes. it is most efficient to set SHOULD_linemerge to what value?
The correct answer is B. False. For single-line event sourcetypes, SHOULD_linemerge should be set to False. By default, Splunk's SHOULD_linemerge is True, meaning Splunk will attempt to merge multiple lines into a single event using line-merging rules, which consumes processing resources. When events are inhere
Question
For single line event sourcetypes. it is most efficient to set SHOULD_linemerge to what value?
Options
- ATrue
- BFalse
- C<regex string>
- DNewline Character
How the community answered
(69 responses)- A3% (2)
- B90% (62)
- C1% (1)
- D6% (4)
Explanation
For single-line event sourcetypes, SHOULD_linemerge should be set to False. By default, Splunk's SHOULD_linemerge is True, meaning Splunk will attempt to merge multiple lines into a single event using line-merging rules, which consumes processing resources. When events are inherently single-line (e.g., syslog, CSV rows), there is no need for line merging. Explicitly setting SHOULD_linemerge = false in props.conf tells Splunk to skip this processing step entirely, improving indexing efficiency. Setting it to True (A) wastes CPU cycles on unnecessary merging logic. Options C and D describe configurations for BREAK_ONLY_BEFORE or LINE_BREAKER settings, not SHOULD_linemerge values.
Topics
Community Discussion
No community discussion yet for this question.