fix(logstash): Adjust role for ECS compatibility

'ecs_compatibility' is now on by default, therefore Logstash indices are
created with the naming pattern "ecs-logstash-*" when data streams are
disabled ('data_stream => false').
This commit is contained in:
Antoine Cotten 2022-03-02 16:58:52 +01:00
parent 02dabf6fb1
commit 82b1e653b0
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,8 @@
{
"names": [
"logs-generic-default",
"logstash-*"
"logstash-*",
"ecs-logstash-*"
],
"privileges": [
"write",
@ -20,7 +21,8 @@
},
{
"names": [
"logstash"
"logstash",
"ecs-logstash"
],
"privileges": [
"write",