Logstash package install -e not working

Hi,

I have just installed logstash on an Ubuntu 16.10 using the APT repository.

I wanted to do the "Stashing your first event" tutorial.

So I ran : /usr/share/logstash/bin/logstash --path.settings /etc/logstash -e 'input { stdin { } } output { stdout {} }'

However it stops immediatly and in logstash-plain.log I have :

cat /var/log/logstash/logstash-plain.log
[2016-11-10T17:47:21,473][ERROR][logstash.agent ] failed to fetch pipeline configuration {:message=>"No config files found: /etc/logstash/conf.d/*\nCan you make sure this path is a logstash config file?"}

Is it not possible to use -e with the version from the package ?

Thanks

Take a look at this thread. I believe it is looking for the configuration file mentioned in the settings file, not whatever you pass in through -e.

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