"logstash output exec " no output

i tried the exec plugin of logstash:
output {
exec {
codec => line { format => "%{message}"}
command => "echo %{message}"
}
}
but nothing print out , only shown:
[2019-10-30T22:18:42,715][INFO ][logstash.outputs.exec ][main]

why nothing printed ? (it can be sure that the "message" is not null)

while message can be show using "stdout"
output {
stdout {
codec => line { format => "%{message}"}
}
}

why "exec" is invalid ?

Try enabling log.level debug

1 Like

now it works , thanks :stuck_out_tongue_closed_eyes:

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