Hi,
I am trying to split message by new new line
mutate {
copy => { "message" => "message_val" }
}
mutate {
split => { "message_val" => "\n" }
add_field => { "fullQuery" => "%{message_val[4]}" }
}
the output is coming like
%{message_val[4]}
Is there anything i am missing here?