Open dsch opened 2 years ago
A possible source of the problem could the buried in the handling of ilm_policies
:
the policy gets added to ilm_policies
under the ilm_policy_id
containing the placeholders:
https://github.com/uken/fluent-plugin-elasticsearch/blob/96ff1706282a3bdb77533b72d3792d692530b547/lib/fluent/plugin/out_elasticsearch.rb#L244-L246
later the policy get retrieved from ilm_policies
with ilm_policy_id
with expanded placeholders, which results in an empty ilm_policy
.
https://github.com/uken/fluent-plugin-elasticsearch/blob/96ff1706282a3bdb77533b72d3792d692530b547/lib/fluent/plugin/out_elasticsearch.rb#L1082
I wanted to check if there has been any progress on this ticket. Can you please let me know if you have been able to resolve it from your end? @dsch
(check apply)
Problem
If
ilm_policy_id
contains placeholders the default policy gets created instead of the one configuredilm_policy
.Steps to replicate
config snipped:
Log
Expected Behavior or What you need to ask
The configure ILM policy should be created.
Using Fluentd and ES plugin versions