Issue with Parsing multiline log in together with filebeat multiline config and logstash

Your message contains \n in several places. That not a newline, it is the character \ followed by the character n. Changing \n in the gsubs to \\n might help.