doc: Fix incorrect usage of logstash_system user

Closes #405
This commit is contained in:
Antoine Cotten 2019-06-28 23:24:22 +02:00
parent 6a97c20a25
commit d65e62b030
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 6 additions and 1 deletions

View File

@ -126,9 +126,13 @@ $ docker-compose exec -T elasticsearch 'bin/elasticsearch-setup-passwords' auto
``` ```
Passwords for all 6 built-in users will be randomly generated. Take note of them and replace the `elastic` username with Passwords for all 6 built-in users will be randomly generated. Take note of them and replace the `elastic` username with
`kibana` and `logstash_system` inside the Kibana and Logstash *pipeline* configuration files respectively. See the `kibana` and `logstash_system` inside the Kibana and Logstash configuration files respectively. See the
[Configuration](#configuration) section below. [Configuration](#configuration) section below.
> :information_source: Do not use the `logstash_system` user inside the Logstash *pipeline* file, it does not have
> sufficient permissions to create indices. Follow the instructions from the [Built-in roles][builtin-roles] page to
> create a user with suitable roles.
Restart Kibana and Logstash to apply the passwords you just wrote to the configuration files. Restart Kibana and Logstash to apply the passwords you just wrote to the configuration files.
```console ```console
@ -350,6 +354,7 @@ instead of `elasticsearch`.
[mac-mounts]: https://docs.docker.com/docker-for-mac/osxfs/ [mac-mounts]: https://docs.docker.com/docker-for-mac/osxfs/
[builtin-users]: https://www.elastic.co/guide/en/x-pack/current/setting-up-authentication.html#built-in-users [builtin-users]: https://www.elastic.co/guide/en/x-pack/current/setting-up-authentication.html#built-in-users
[builtin-roles]: https://www.elastic.co/guide/en/elastic-stack-overview/current/built-in-roles.html
[connect-kibana]: https://www.elastic.co/guide/en/kibana/current/connect-to-elasticsearch.html [connect-kibana]: https://www.elastic.co/guide/en/kibana/current/connect-to-elasticsearch.html