Issue with pipelines stopping to work

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

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.