this is what this looks like when running logstash on the terminal:
% bin/logstash -e ""
The stdin plugin is now waiting for input:
helllo
{
"@timestamp" => 2016-09-13T17:29:09.479Z,
"@version" => "1",
"host" => "Joaos-MBP.lan",
"message" => "helllo",
"type" => "stdin"
}
However, if standard input is not on a tty (either because logstash is running on the background or something is piping to it) then it doesn't show the message:
this is what this looks like when running logstash on the terminal:
However, if standard input is not on a tty (either because logstash is running on the background or something is piping to it) then it doesn't show the message: