You are troubleshooting a parsing issue where multiline events are not being grouped correctly. Where in the configuration files would you adjust the 'BREAK_ONLY_BEFORE' setting?
Trap 1: outputs.conf
outputs.conf configures data forwarding destinations and output processor settings, not event line breaking. BREAK_ONLY_BEFORE is a props.conf line-merging setting applied by the parsing pipeline, so placing it in outputs.conf has no effect on how multiline events are grouped.
Trap 2: inputs.conf
inputs.conf configures data inputs such as file monitoring, ports and source types, but line breaking is applied later by the parsing pipeline. BREAK_ONLY_BEFORE belongs in props.conf, so setting it in inputs.conf leaves multiline events ungrouped. inputs.conf would be correct for defining a new file monitor stanza.
Trap 3: indexes.conf
indexes.conf defines index storage paths, retention and sizing policies, not event parsing rules. Line breaking is controlled in props.conf, so BREAK_ONLY_BEFORE placed here is ignored. indexes.conf would be correct for configuring index homePath, coldPath or frozenTimePeriodInSecs.
- A
outputs.conf
Why it fails: outputs.conf configures data forwarding destinations and output processor settings, not event line breaking. BREAK_ONLY_BEFORE is a props.conf line-merging setting applied by the parsing pipeline, so placing it in outputs.conf has no effect on how multiline events are grouped.
- B
inputs.conf
Why it fails: inputs.conf configures data inputs such as file monitoring, ports and source types, but line breaking is applied later by the parsing pipeline. BREAK_ONLY_BEFORE belongs in props.conf, so setting it in inputs.conf leaves multiline events ungrouped. inputs.conf would be correct for defining a new file monitor stanza.
- C
indexes.conf
Why it fails: indexes.conf defines index storage paths, retention and sizing policies, not event parsing rules. Line breaking is controlled in props.conf, so BREAK_ONLY_BEFORE placed here is ignored. indexes.conf would be correct for configuring index homePath, coldPath or frozenTimePeriodInSecs.
- D
props.conf
BREAK_ONLY_BEFORE is a line-breaking attribute used by the line merger during index-time parsing. It belongs in props.conf, within the stanza for the relevant source type or host, so the indexer groups multiline events correctly before indexing.