Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
docker-elk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
段孔乐
docker-elk
Commits
78d3a85d
Unverified
Commit
78d3a85d
authored
Oct 25, 2020
by
Antoine Cotten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Fix numbering in Initial setup section
parent
65ab6443
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
README.md
README.md
+19
-19
No files found.
README.md
View file @
78d3a85d
...
@@ -177,39 +177,39 @@ users][builtin-users] instead for increased security.
...
@@ -177,39 +177,39 @@ users][builtin-users] instead for increased security.
1.
Initialize passwords for built-in users
1.
Initialize passwords for built-in users
```
console
```console
$
docker-compose
exec
-T
elasticsearch bin/elasticsearch-setup-passwords auto
--batch
$ docker-compose exec -T elasticsearch bin/elasticsearch-setup-passwords auto --batch
```
```
Passwords for all 6 built-in users will be randomly generated. Take note of them.
Passwords for all 6 built-in users will be randomly generated. Take note of them.
1.
Unset the bootstrap password (_optional_)
1.
Unset the bootstrap password (_optional_)
Remove the
`ELASTIC_PASSWORD`
environment variable from the
`elasticsearch`
service inside the Compose file
Remove the `ELASTIC_PASSWORD` environment variable from the `elasticsearch` service inside the Compose file
(
`docker-compose.yml`
). It is only used to initialize the keystore during the initial startup of Elasticsearch.
(`docker-compose.yml`). It is only used to initialize the keystore during the initial startup of Elasticsearch.
1.
Replace usernames and passwords in configuration files
1.
Replace usernames and passwords in configuration files
Use the
`kibana_system`
user (
`kibana`
for releases <7.8.0) inside the Kibana configuration file
Use the `kibana_system` user (`kibana` for releases <7.8.0) inside the Kibana configuration file
(
`kibana/config/kibana.yml`
) and the
`logstash_system`
user inside the Logstash configuration file
(`kibana/config/kibana.yml`) and the `logstash_system` user inside the Logstash configuration file
(
`logstash/config/logstash.yml`
) in place of the existing
`elastic`
user.
(`logstash/config/logstash.yml`) in place of the existing `elastic` user.
Replace the password for the
`elastic`
user inside the Logstash pipeline file (
`logstash/pipeline/logstash.conf`
).
Replace the password for the `elastic` user inside the Logstash pipeline file (`logstash/pipeline/logstash.conf`).
*:information_source: Do not use the `logstash_system` user inside the Logstash **pipeline*
*
file, it does not have
*: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 at
[
Configuring Security in Logstash
][
ls-security
]
sufficient permissions to create indices. Follow the instructions at [Configuring Security in Logstash][ls-security]
to create a user with suitable roles.
*
to create a user with suitable roles.*
See also the
[
Configuration
](
#configuration
)
section below.
See also the [Configuration](#configuration) section below.
1.
Restart Kibana and Logstash to apply changes
1.
Restart Kibana and Logstash to apply changes
```
console
```console
$
docker-compose restart kibana logstash
$ docker-compose restart kibana logstash
```
```
*
:information_source: Learn more about the security of the Elastic stack at
[
Tutorial: Getting started with
*:information_source: Learn more about the security of the Elastic stack at [Tutorial: Getting started with
security]
[
sec-tutorial
]
.
*
security][sec-tutorial].*
### Injecting data
### Injecting data
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment