Add new input plugin when logstash is running

(kitchanw) #1

Does logstash have any way for user to add new input plugin when it is running?
For instance, I'm just monitoring fileA, now I want to monitor fileB and a database also, but I don't want to shut down or restart logstash. how can I do?


(Magnus B├Ąck) #2

Logstash does not support on the fly configuration changes. The closest you can get with the file input is using a wide filename pattern in your configuration and then creating a new logfile that matches that pattern. Such a file will be picked up within a few seconds.

(kitchanw) #3

thanks very much. it may be an another way to solve my problem.

(system) #4