Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add path.data to settings.yml #5404

Closed
untergeek opened this issue May 31, 2016 · 2 comments

Comments

@untergeek
Copy link
Member

commented May 31, 2016

Elasticsearch uses path.data in its yaml file to indicate where the data directory should go.

Likewise, with Logstash plugins that need to keep state somewhere, we should use a path.data option, with the rpm/deb package default being /var/lib/logstash, and otherwise $LS_HOME/data.

Plugins should be able to piggy-back on this variable easily to allow them to keep state, perhaps in /path.data/plugin-name/plugin-uuid as the path, or something like that. This completely eliminates painful ENV vars like SINCEDB_DIR, which is a highly desirable thing.

@suyograo

This comment has been minimized.

Copy link
Member

commented May 31, 2016

+1. This path.data will also be used to store logstash.uuid a persistent UUID which is stable across restarts.

@jsvd

This comment has been minimized.

Copy link
Member

commented Jun 1, 2016

+1, we have discussed adding this before, but there was no purpose yet in logstash for a path.data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.