You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the variable includes DIR which makes me think it's a directory, so having it support wildcards or paths seems unexpected given the name. I am open to supporting what you propose, but I think we need to rename the variable given the meaning will change.
What about renaming it to LS_CONF_PATH ?
Looking towards the future, I would highly recommend you move forward towards more modern service management systems (upstart, systemd, etc) as we will likely be moving away from the older SYSV init script style things eventually.
This needs to be re-evaluated by virtue of the fact that LS_CONF_PATH is no longer even used, due to the shift to using logstash.yml as the settings path. While Logstash may yet need to look at directories and/or sub-directories, this is a different world with path.settings.
Also, the SYSV issue has been completely resolved by #5341, which changes startup altogether.
If this is still an issue, please open it again after testing against 5.0 alpha-3, with regards to the path.settings setup. Feel free to reference this issue in that new issue.
If you have e.g.
LS_CONF_DIR=/etc/logstash/conf.d/*/*.conf
which would be useful for a configuration structure like this:Then
service logstash restart
fails because L139 looks for${LS_CONF_DIR}/*
Perhaps better first identify if the path already contains globs, and is a directory (not a single file), and only then append the
/*
?The text was updated successfully, but these errors were encountered: