I am able to run logstash as command line , but when I try to run it as a services . It is getting restarted after every 6 seconds and no data is getting loaded to elasticsearch
I have placed my conf file in etc/logstash/conf.d folder
with datapower.conf name
I am getting below error :
Logstash - java.lang.IllegalStateException: Logstash stopp...dev/null
looks like you’re using /dev/null somewhere in your config(maybe your pipeline?). if you run logstash cli as root, root will have access to /dev/null , but logstash from systemctl by default will be run as logstash user, and it doesn’t have write access to /dev/null
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.