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
2c5ad2e4
Unverified
Commit
2c5ad2e4
authored
Jun 30, 2019
by
Antoine Cotten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Add links to "Configure * on Docker" pages
parent
ef493617
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
5 deletions
+18
-5
README.md
README.md
+18
-5
No files found.
README.md
View file @
2c5ad2e4
...
...
@@ -140,7 +140,7 @@ $ docker-compose restart kibana logstash
```
Give Kibana about a minute to initialize, then access the Kibana web UI by hitting
[
http://localhost:5601
](
http://localhost:5601
)
with a web browser and use the following default credentials to login:
[
http://localhost:5601
](
http://localhost:5601
)
with a web browser and use the following default credentials to log
in:
*
user:
*elastic*
*
password:
*\<your generated elastic password>*
...
...
@@ -193,16 +193,22 @@ You can also specify the options you want to override by setting environment var
elasticsearch
:
environment
:
network.host
:
"
_non_loopback_"
cluster.name
:
"
my-cluster"
network.host
:
_non_loopback_
cluster.name
:
my-cluster
```
Please refer to the following documentation page for more details about how to configure Elasticsearch inside Docker
containers:
[
Install Elasticsearch with Docker
][
es-docker
]
.
### How to configure Kibana
The Kibana default configuration is stored in
[
`kibana/config/kibana.yml`
][
config-kbn
]
.
It is also possible to map the entire
`config`
directory instead of a single file.
Please refer to the following documentation page for more details about how to configure Kibana inside Docker
containers:
[
Running Kibana on Docker
][
kbn-docker
]
.
### How to configure Logstash
The Logstash configuration is stored in
[
`logstash/config/logstash.yml`
][
config-ls
]
.
...
...
@@ -210,6 +216,9 @@ The Logstash configuration is stored in [`logstash/config/logstash.yml`][config-
It is also possible to map the entire
`config`
directory instead of a single file, however you must be aware that
Logstash will be expecting a
[
`log4j2.properties`
][
log4j-props
]
file for its own logging.
Please refer to the following documentation page for more details about how to configure Logstash inside Docker
containers:
[
Configuring Logstash for Docker
][
ls-docker
]
.
### How to disable paid features
Switch the value of Elasticsearch's
`xpack.license.self_generated.type`
option from
`trial`
to
`basic`
(see
[
License
...
...
@@ -285,7 +294,7 @@ For example, to increase the maximum JVM Heap Size for Logstash:
logstash
:
environment
:
LS_JAVA_OPTS
:
"
-Xmx1g
-Xms1g"
LS_JAVA_OPTS
:
-Xmx1g -Xms1g
```
### How to enable a remote JMX connection to a service
...
...
@@ -301,7 +310,7 @@ Docker host (replace **DOCKER_HOST_IP**):
logstash
:
environment
:
LS_JAVA_OPTS
:
"
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.port=18080
-Dcom.sun.management.jmxremote.rmi.port=18080
-Djava.rmi.server.hostname=DOCKER_HOST_IP
-Dcom.sun.management.jmxremote.local.only=false"
LS_JAVA_OPTS
:
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=18080 -Dcom.sun.management.jmxremote.rmi.port=18080 -Djava.rmi.server.hostname=DOCKER_HOST_IP -Dcom.sun.management.jmxremote.local.only=false
```
## Going further
...
...
@@ -362,6 +371,10 @@ instead of `elasticsearch`.
[
config-kbn
]:
./kibana/config/kibana.yml
[
config-ls
]:
./logstash/config/logstash.yml
[
es-docker
]:
https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
[
kbn-docker
]:
https://www.elastic.co/guide/en/kibana/current/docker.html
[
ls-docker
]:
https://www.elastic.co/guide/en/logstash/current/docker-config.html
[
log4j-props
]:
https://github.com/elastic/logstash-docker/tree/master/build/logstash/config
[
esuser
]:
https://github.com/elastic/elasticsearch-docker/blob/c2877ef/.tedi/template/bin/docker-entrypoint.sh#L9-L10
...
...
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