Logstash run all config files on start/restart


I have a question related to starting all the conf files when my linux server restarts automaticallv.

I have 3 conf files in folder /etc/logstash/conf.d/

I want them to start automatically when I start/restart my machine. Is this possible without writing some startup shell script?

Thanks a lot for any help

Best Solution

The answer to my problem is the following command:

/opt/logstash/bin/logstash agent -f /etc/logstash/conf.d

website: https://ianunruh.com/2014/05/monitor-everything-part-2.html

Related Question