Skip to content

Commit

Permalink
document system indices api privilege (#12391)
Browse files Browse the repository at this point in the history
* update privilege requirement
  • Loading branch information
kaisecheng authored Oct 28, 2020
1 parent c0bbc94 commit 55637c8
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions docs/static/security/logstash.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,9 @@ privileges for the Logstash indices. You can create roles from the
---------------------------------------------------------------
POST _security/role/logstash_reader
{
"indices": [
{
"names": [ "logstash-*" ], <1>
"privileges": ["read","view_index_metadata"]
}
]
"cluster": ["manage_logstash_pipelines"]
}
---------------------------------------------------------------
<1> If you use a custom Logstash index pattern, specify that pattern
instead of the default `logstash-*` pattern.

. Assign your Logstash users the `logstash_reader` role. If the Logstash user
will be using
Expand All @@ -149,7 +142,7 @@ POST _security/user/logstash_user
"full_name" : "Kibana User for Logstash"
}
---------------------------------------------------------------
<1> `logstash_admin` is a built-in role that provides access to `.logstash-*`
<1> `logstash_admin` is a built-in role that provides access to system
indices for managing configurations.

[float]
Expand Down

0 comments on commit 55637c8

Please sign in to comment.