I think i am having difficulty on starting logstash as a service which runs continuously in the background to read all the config files under the directory /etc/logstash/conf.d/
Although when i run it like /usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/first.conf , it works fine and does what is written in the config file. But in the production environment, the service has to continously run and keep loading the files present in /etc/logstash/confd./
This is fine as long as i am loading first.conf file, but in the real scenario the input would be a beat plugin listening on port 5044, for that logstash service should be continuously running.
How do i make logstash running continously and loads multiple config files that i have in /etc/logstash/conf.d
I think i am having difficulty on starting logstash as a service which runs continuously in the background to read all the config files under the directory /etc/logstash/conf.d/
Aug 07 14:30:21 ip-10-xx.xx.xx.domain.com systemd[1]: logstash.service: main process exited, code=exited, status=1/FAILURE
Aug 07 14:30:21ip-10-xx.xx.xx.domain.com systemd[1]: Unit logstash.service entered failed state.
Aug 07 14:30:21 ip-10-xx.xx.xx.domain.com systemd[1]: logstash.service failed.
/usr/share/logstash/bin/logstash --path.settings /etc/logstash/conf.d -f /etc/logstash/conf.d/app.conf & it works forever, but not when i run this systemctl start logstash
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.