Data Stream Settings expects manage_template
to be false (not true) to avoid creating the ecs-logstash template
#1093
Labels
manage_template
to be false (not true) to avoid creating the ecs-logstash template
#1093
Logstash information:
Please include the following information:
JVM (e.g.
java -version
): Builtin JVMOS version (
uname -a
if on a Unix-like system): Linux LAPTOP-LFCO0LFS 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxDescription of the problem including expected versus actual behavior:
The manage_template setting is not compatible with the data_stream settings. When data_stream settings are active and the Logstash Output Plugin is configured with a user without the
manage_index_template
cluster privilege it encounters 403 errors, because Logstash cannot load the Index Template ecs-logstash.In my expectation when data_stream is used this template should not be loaded.
I dig a little bit in the source code and I think this line may explain the unexpected behavior: the comment state that manage_template is false by default, but the documentation (and also my experience) shows that manage_template is true by default.
Steps to reproduce:
Provide logs (if relevant):
Possible Related Issues
The text was updated successfully, but these errors were encountered: