Hello All.
I am experiencing an issue on logstash , but I cannot find a solution.
Basically I have a TCP listener in input, which sends me line like:
[some garbage] Info:[json message]
So what I do is:
dissect {
mapping => {
"message" => "%{garbage}Info: %{msg}"
}
}
It usually works, but when some content with no "Info:" in the line reaches the port, then I see an exception, and the pipeline "main" stops.
Is there a safer/robust way to do this, in order to prevent the pipeline to stop?
thanks in advance