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

Custom Elasticsearch ILM policy definition #1097

Open
cimplart opened this issue Nov 17, 2022 · 2 comments
Open

Custom Elasticsearch ILM policy definition #1097

cimplart opened this issue Nov 17, 2022 · 2 comments

Comments

@cimplart
Copy link

Hello,

currently a custom ILM policy must be created using the Elasticsearch REST API call after started. It is rather difficult to implement in a docker-compose application.
It would make the devops's life much easier if the default-ilm-policy.json could be replaced by some configuration option.
This is the relevant code snippet from the elasticsearch plugin:

def policy_payload
  policy_path = ::File.expand_path(ILM_POLICY_PATH, ::File.dirname(__FILE__))
  LogStash::Json.load(::IO.read(policy_path))
end

The new feature would allow to set policy_path from a new elasticsearch output option, in a similar way as the ILM template may be set with the template option.

@jacksparrow414
Copy link

Any progress on this issue?

1 similar comment
@lhzw
Copy link

lhzw commented May 28, 2024

Any progress on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants