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
If I customize my index name the template does not apply to that index. The generated index template always is applied to $index-$version-* and $index is configurable via setup.template.settings.index.name.
Version: 6.0
Operating System: all
Steps to Reproduce:
Customize the index pattern (output.elasticsearch.index). For example I customized my index to somebeat-%{+xxxx.ww} for weekly indices.
Install the index template (somebeat setup).
Start the beat and the index template will not be applied to your data.
GET _template/somebeat* and you will see that the template applies to somebeat-6.0.0-beta1-*.
So there are a few options:
Require the user to use a output.elasticsearch.index value that is compatible with the template. This means erroring out when the two don't match up.
Allow customization of the pattern used in the template.
Do nothing. This affected me when upgrading from 5.x to 6.x so I imagine it will affect others. I can workaround the issue by including %{[beat.version]} in index name, but this won't work for everyone.
The text was updated successfully, but these errors were encountered:
If I customize my index name the template does not apply to that index. The generated index template always is applied to
$index-$version-*
and$index
is configurable viasetup.template.settings.index.name
.output.elasticsearch.index
). For example I customized my index tosomebeat-%{+xxxx.ww}
for weekly indices.somebeat setup
).GET _template/somebeat*
and you will see that the template applies tosomebeat-6.0.0-beta1-*
.So there are a few options:
output.elasticsearch.index
value that is compatible with the template. This means erroring out when the two don't match up.%{[beat.version]}
in index name, but this won't work for everyone.The text was updated successfully, but these errors were encountered: