Hi,
I'm trying to add a few characters at the beginning and the end of a field but i have an error.
This is what i'd like to add " { "info": " and "}"
I tried:
mutate {
replace => { "message" => "{\"info\":%{message}}" }
}
mutate {
replace => { "message" => "\{\"info\":%{message}\}" }
}
mutate { add_field => {"beginning "=>"{\"info\":" } }
mutate { replace => { "message" =>" "%{beginning} %{message}"} }
Can you help me?