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
We are trying to create a non-default index template for data streams but the config (template_file, customize_template) is ignored.
I'm no ruby expert but I checked the code and I think the index template is hardcoded to a specific format:
I expected the newly created index template to have the content of my template_file interpolated with my customize_template config.
I got the default index template created based on the code I linked above.
Using Fluentd and ES plugin versions
OS version: Debian Bullseye
Platform? Docker in GKE
Fluentd: 1.16.2
ES plugin: 5.2.5
ES version (optional): 7.16.3
Fix / Notes
Given the code this might not be a bug and is be design, if that's the case, can you please extend this functionality from the elasticsearch output to the elasticsearch_data_stream output?
Thanks!
The text was updated successfully, but these errors were encountered:
Problem
We are trying to create a non-default index template for data streams but the config (
template_file
,customize_template
) is ignored.I'm no ruby expert but I checked the code and I think the index template is hardcoded to a specific format:
fluent-plugin-elasticsearch/lib/fluent/plugin/out_elasticsearch_data_stream.rb
Lines 113 to 133 in 28ade35
Steps to replicate
Use
template_file
andcustomize_template
withelasticsearch_data_stream
output.Expected Behavior or What you need to ask
When using:
I expected the newly created index template to have the content of my
template_file
interpolated with mycustomize_template
config.I got the default index template created based on the code I linked above.
Using Fluentd and ES plugin versions
Fix / Notes
Given the code this might not be a bug and is be design, if that's the case, can you please extend this functionality from the
elasticsearch
output to theelasticsearch_data_stream
output?Thanks!
The text was updated successfully, but these errors were encountered: