Thanks for your help.
I already have this config and it is working as expected.
multiline:
pattern: '(^Encore.DMS.Svc-)|(^Encore.DMS.Web-)|(^Encore.DASMonitor-)'
negate: true
match: after
But for my last condition I need to negate inside the regex. Which I think is not allowed or will not work because negate handled in separate line like "negate: true".
"! (^Encore.DMS.Svc-\.*RESPONSE:)"
Something like above can be doable or any other way this can be achieved in Filebeat?
Do I understand you correctly? You just want to merge REQUEST plus RESPONSE attributes?
Check out this solution: https://play.golang.org/p/IS8wDp1h6F
Regex is ^([[:space:]]|<|(.*\|){2}RESPONSE)
First sub-term matches a string starting with whitespace, the second sub-term matches a line starting with < and the third subfilter matches ... | ... |RESPONSE without even checking the content of the columns.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.