mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
b7a5f76859
commit
229487c38e
1 changed files with 3 additions and 12 deletions
15
docs/static/security/logstash.asciidoc
vendored
15
docs/static/security/logstash.asciidoc
vendored
|
@ -210,17 +210,8 @@ monitoring function, and _should not_ be used for any other purpose - it is
|
|||
specifically _not intended_ for use within a Logstash pipeline.
|
||||
|
||||
By default, the `logstash_system` user does not have a password. The user will
|
||||
not be enabled until you set a password. Set the password through the change
|
||||
password API:
|
||||
|
||||
[source,js]
|
||||
---------------------------------------------------------------------
|
||||
PUT _xpack/security/user/logstash_system/_password
|
||||
{
|
||||
"password": "t0p.s3cr3t"
|
||||
}
|
||||
---------------------------------------------------------------------
|
||||
// CONSOLE
|
||||
not be enabled until you set a password. See
|
||||
{ref}/built-in-users.html#set-built-in-user-passwords[Setting built-in user passwords].
|
||||
|
||||
Then configure the user and password in the `logstash.yml` configuration file:
|
||||
|
||||
|
@ -230,7 +221,7 @@ xpack.monitoring.elasticsearch.username: logstash_system
|
|||
xpack.monitoring.elasticsearch.password: t0p.s3cr3t
|
||||
----------------------------------------------------------
|
||||
|
||||
If you initially installed an older version of {xpack}, and then upgraded, the
|
||||
If you initially installed an older version of {xpack} and then upgraded, the
|
||||
`logstash_system` user may have defaulted to `disabled` for security reasons.
|
||||
You can enable the user through the `user` API:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue