Automatically start logstash configuration file

Hello,

Please i would like to know if there is any method to set a logstash.conf file start automatically with the OS.
I'm currently using a logstash.conf file using this command : # /usr/share/logstash/bin/logstash -f logstash.conf
But what if the machine suddenly stopped or restarted? do i need to execute this command manually?
Thank you in advance for your help.

The documentation covers running logstash as a service.

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