Logstash is not picking config file under /etc/logstash/conf.d/ directory


I am running Logstash as a service on Redhat distribution with the command "sudo initctl start logstash" and when I checked the status, it says Logstash is running. But the problem is it's not using the config file under /etc/logstash/conf.d/ directory. My settings in logstash.yml are as below,

path.config: /etc/logstash/conf.d/
path.level: debug
path.logs: /var/log/logstash/

Even though path.logs(level:debug) in logstash.yml is set to /var/log/logstash/ , I don't see any logs written to the file.

Can someone please help me resolve the issue? Thanks in advance...

I got it solved by changing the owner to logstash.

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