/opt/logstash/bin/logstash

sudo /opt/logstash/bin/logstash --configtest -f /etc/logstash/conf.d/

Thats the line digitalocean has me putting in when building my ELK server with Ubuntu 16.04. That line is suppose to return "Configuration OK" but mine also comes back saying "bash: /opt/logstash/bin/logstash: No such file or directory". Any ideas?? I don't think I am suppose to create that file, i think it should already be there but it's not.

That's an old tutorial, things have moved on the FS.
See https://www.elastic.co/guide/en/logstash/current/dir-layout.html

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