Update Logstash Keystore while it's running as a Service

Is there is any recommendation on how to make changes to Logstash keystore variables (update variable or add new ones) while the service is running.
Do we need to stop the service before making changes?
Does it require a restart of the service for the changes to take effect?

Thanks,

You can add or remove variables to the Keystore while Logstash is running, but you will need to restart the service for the new values to work.

1 Like

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

We recently did some testing of this and found that using automatic configuration reloading you can get the config to read a new value of the configuration with a pipeline rather than a logstash restart. Reloading the Config File | Logstash Reference [8.17] | Elastic

You need to make an explicit change to the pipeline configuration, not just the keystore value for the reload, so having a minor value that can be altered is a way around the service restart limitation