Skip to content

Commit 51e7d19

Browse files
untergeekkarenzone
authored andcommitted
Add missing "create" privilege to documentation
Users following our documentation are frustrated to discover that they get 403 errors from Logstash, even when following the instructions to the letter. The problem is that the `create` privilege is missing. With this in place, it works as designed. These changes may need to be back ported to previous branches, too. Fixes #11013
1 parent 369324b commit 51e7d19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/static/security/logstash.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To set up authentication credentials for Logstash:
3737

3838
. Use the the **Management > Roles** UI in {kib} or the `role` API to create a
3939
`logstash_writer` role. For *cluster* privileges, add `manage_index_templates` and `monitor`.
40-
For *indices* privileges, add `write`, `delete`, and `create_index`.
40+
For *indices* privileges, add `write`, `create`, `delete`, and `create_index`.
4141
+
4242
If you plan to use {ref}/getting-started-index-lifecycle-management.html[index lifecycle
4343
management], also add `manage_ilm` for cluster and `manage` and `manage_ilm` for indices.
@@ -50,7 +50,7 @@ POST _xpack/security/role/logstash_writer
5050
"indices": [
5151
{
5252
"names": [ "logstash-*" ], <2>
53-
"privileges": ["write","delete","create_index","manage","manage_ilm"] <3>
53+
"privileges": ["write","create","delete","create_index","manage","manage_ilm"] <3>
5454
}
5555
]
5656
}

0 commit comments

Comments
 (0)