...
Restart the logstash service to apply the new settings.
Keystores
n In order not to have sensitive information hardcoded in the configuration files and just protecting that information with filesystem permissions, it is recommended to make use of keystores provided by the Elasticsearch components.
...