Logstash gsub filter with special characters not working

Parentheses have a special meaning in regexps so you need to escape them. You should also start the expression with ^ so it only matches at the beginning of the line.