Logstash multiline problem

hi everyone,i have lots of logs need to be structured,for clear ,there is my data::
#########
ABC
123
abc
PPP
ZZZZZ
#########
I want to: "ABCabcZZZZZ" , i tried the multiline codec and my pattern is "^A|^a|^Z", but i failed to get what i want.
please,thx

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.