Help with installing logstash - no such file to load --logstash/build

When in the logstash folder I have tried to install logstash with the command. logstash -f logstash.conf and get the error no such file to load --logstash/build. I have supplied a screenshot. If anyone could help that would be amazing thanks

With that command you are trying to start Logstash and execute the file you put in the command line logstash.conf. Does that file exist in the same directory that you executed this command?

the logstash.conf file is located in the bin directory. I've tried running the command from the bin directory aswell

Can you post the contents of logstash.conf?

input {
 stdin {}

   elasticsearch {
       hosts => ["localhost:9200"]
       index => "indexforlogstash"

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