Logstash as service Advantages


(Kishore) #1

Please advise me that, what are all the advantages to run the logstash as service instead of process.


(Magnus Bäck) #2

And by "running it as a process" you mean running it in a terminal window?


(Kishore) #3

Yes, using below command to run as process.

./bin/logstash -f /etc/logstash/conf.d/unix-logstash.conf


(Magnus Bäck) #4

Well, that only works as long as you're logged into the computer and don't close that terminal window. If you want Logstash to run all the time the only reasonable way is to run it as a service.


(system) #5

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