diff --git a/libbeat/docs/security/basic-auth.asciidoc b/libbeat/docs/security/basic-auth.asciidoc index e12455ae4da..df4049988d7 100644 --- a/libbeat/docs/security/basic-auth.asciidoc +++ b/libbeat/docs/security/basic-auth.asciidoc @@ -79,12 +79,12 @@ rollover indices: -- ["source","sh",subs="attributes"] --------------------------------------------------------------- -POST _xpack/security/role/{beatname_lc}_ilm +POST _xpack/security/role/{beat_default_index_prefix}_ilm { "cluster": ["manage_ilm"], "indices": [ { - "names": [ "{beatname_lc}-*","shrink-{beatname_lc}-*"], + "names": [ "{beat_default_index_prefix}-*","shrink-{beat_default_index_prefix}-*"], "privileges": ["write","create_index","manage","manage_ilm"] } ]