I succesfully installed logstash on a debian 9 using apt following the official doc..
I am able to see logstash.service loaded and running using sudo systemctl status logstash.service
Now I must execute bin/logstash
but obiously I got command not found
.
EDIT : I found /usr/share/logstash/bin
so I tried
cd /usr/share/logstash
bin/logstash -e 'input { stdin { } } output { stdout {} }'
And it works.