For testing codecs like multiline, the recommendation is to try the Go playground website. However, before making a config live, it can be tested locally also; using input from stdin and printing output to the console. The following config can be used as skeleton.
filebeat.prospectors:
- input_type: stdin
output:
console:
pretty: true