buraksarp / docker-elk

ELK stack sample with Spring Boot and Docker
32 stars 24 forks source link

Logstash : No config files found in path #1

Open manish436 opened 6 years ago

manish436 commented 6 years ago

logstash | 12:03:54.890 [LogStash::Runner] INFO logstash.agent - No config files found in path {:path=>"/etc/logstash/conf.d/*"}

image

buraksarp commented 6 years ago

you can check file permissions. The conf file is exist in related directory..

manish436 commented 6 years ago

I made a small change and it is working fine now Changed FROM logstash:5 to FROM logstash:5 COPY ./config/logstash.conf /etc/logstash/config.d/ CMD ["-f", "/etc/logstash/config.d/logstash.conf"]

removed volume and command from docker-compose.yml and managed in DockerFile only.