Logastsh6.0 not picking config files from conf.d

Hi,

Logstash 6.0 not picking config files from conf.d directory automatically, instead if i run logstash with -f switch from commandline it works.

Thanks,
Saravanan

Are you running Logstash from the tarball or have you installed a Debian or RPM package? Which logstash.yml are you running? Show the non-comment lines from that file. What do the file permissions for the files in /etc/logstash/conf.d look like? What about the /etc/logstash and /etc/logstash/conf.d directories?

I had installed logstash from rpm package and it uses /etc/logstash/logstash.yml .

logstash.yml

node.name: ${HOSTNAME}
path.data: /var/lib/logstash
pipeline.output.workers: 2
path.config: /etc/logstash/conf.d/*.conf
config.reload.automatic: true
config.reload.interval: 3s
config.debug: true


path.logs: /var/log/logstash
log.level: fatal
log.level: error
log.level: info
log.level: debug
log.level: trace
path.settings: /etc/logstash

I use -rwxr-xr-x. file permission.

/etc/logstash

-rwxr-xr-x. 1 root root 1659 Nov 11 01:33 startup.options
-rwxr-xr-x. 1 root root 1334 Nov 11 01:33 log4j2.properties
-rwxr-xr-x. 1 root root 1738 Nov 11 01:33 jvm.options
drwxr-xr-x. 2 root root   46 Nov 30 10:22 ${sys:ls.logs}
drwxr-xr-x. 3 root root   75 Dec  4 21:45 plugins
-rwxr-xr-x. 1 root root 6545 Dec  6 15:24 logstash.yml
drwxr-xr-x. 2 root root   79 Dec 12 13:18 conf.d

/etc/logstash/conf.d/

-rwxr-xr-x. 1 root root 10172 Dec 6 15:25 test.conf

Thanks,
Saravanan

Hmm. Then I don't know what's up.

okay

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