I'm reading from a plain text file and want to write the same plain text. So I wrote this:
output {
file {
path => ....
codec => line { format => "%{message}" }
}
}
Looks like the file plugin ignores the settings and outputs json. Also if I modify the above pattern to be "blabla %{message}" then the blabla part will never appear.
If I use plain stdout plugin then that works. So the issue is with the file plugin.
I've also tried codec => plain, text and other combinations, nothing helped.
Using file output pkugin 2.0.2