Hello,
I have a problem with Logstash, I want to start it on startup. It seems it works as a service but it can not work essentially. When I run /usr/share/logstash/bin/logstash -f /etc/logstash/conf.d --path.settings /etc/logstash, it works perfectly but I want to work it as a service. I changed /etc/systemd/system/logstash.service file ExecStart part /usr/share/logstash/bin/logstash "-f /etc/logstash/conf.d" "--path.settings" "/etc/logstash". I tried all solutions that have similar topic with mine. So, is there any idea about why Logstash does not work as a service at startup?
P.S. : When I look logs with journalctl --unit logstash, it shows that
No config files found in path {:path=>/ /etc/logstash/logstash.conf"}
No configuration found in the configured sources.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.