Hello,
I first want to filter prefixes from logs and then merge them into multiline. Currently you can do both as a single feature and also dissect after multiline, but you first can create multilines and then manipulate prefixes - the order is set.
multiline.type: pattern
multiline.pattern: '^.* \| \[[0-9]{4}-[0-9]{2}-[0-9]{2}'
multiline.negate: true
multiline.match: after
processors:
- dissect:
tokenizer: "%{prefix} | %{message}"
field: "message"
target_prefix: ""
How would you currently handle it to get the reverse order?