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

filter {
        mutate {
            copy => { "message" => "data"}
            gsub => [
                "data", "\s*", "",
                "data", "(=)([^\\n]*)\\n", '\1"\2" ',
                'data', "\\n", " "

            ]
        }
        kv {
            source => "data"
           }
}

Did this change in the filter without any luck .