Is the Logstash configuration reloaded every time the agent is restarted? It doesn't seem to pick up my changes immediately (e.g. changed type
value)
I'm running it with an embedded elasticsearch v.0.90.7 on Windows 7 and Kibana 3.
Thank you very much!
Regards, Paul
Just use --reload-interval or send a SIGHUP to reload the config!
To reload Config, select the loaded configurations you want to reload and click Reload. You can only reload a configuration that has the status of Loaded. To refresh Configs, click Refresh. Information for all of the configs in the table is redisplayed.
You can put any plugin into input/output section, one of them is 'file' plugin elastic.co/guide/en/logstash/current/plugins-inputs-file.html .
Logstash: Limit the message batch size to 10MB. 0. logstash as agent to parse and send to centralized logstash server.
Hot Reload is not yet supported. There is a Issue.
The logstash configuration is loaded at startup, so, if you kill your process (to restart it later), there is no reason why it does not work.
Good news! Dynamic config reloading is currently scheduled for release with Logstash 2.3+(https://www.elastic.co/blog/logstash-lines-2016-02-09)! Just use --reload-interval
or send a SIGHUP to reload the config!
Seems to be available in Logstash 5: https://www.elastic.co/guide/en/logstash/current/reloading-config.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With