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
05e527c5
Commit
05e527c5
authored
May 07, 2019
by
Kshitij Gupta
Committed by
Antoine Cotten
May 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to Elastic 7.0.1 (#382)
parent
e8e238f0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
14 deletions
+9
-14
.env
.env
+1
-1
run-tests.sh
.travis/run-tests.sh
+1
-1
README.md
README.md
+3
-3
docker-stack.yml
docker-stack.yml
+3
-3
elasticsearch.yml
elasticsearch/config/elasticsearch.yml
+0
-5
logstash.yml
logstash/config/logstash.yml
+1
-1
No files found.
.env
View file @
05e527c5
ELK_VERSION=
6.7.0
ELK_VERSION=
7.0.1
.travis/run-tests.sh
View file @
05e527c5
...
...
@@ -35,7 +35,7 @@ source .env
curl
-X
POST
-D-
'http://localhost:5601/api/saved_objects/index-pattern'
\
-H
'Content-Type: application/json'
\
-H
"kbn-version:
${
ELK_VERSION
}
"
\
-u
kibana
:changeme
\
-u
elastic
:changeme
\
-d
'{"attributes":{"title":"logstash-*","timeFieldName":"@timestamp"}}'
log
'Searching index pattern via Kibana API'
...
...
README.md
View file @
05e527c5
# Elastic stack (ELK) on Docker
[

](https://gitter.im/deviantony/docker-elk?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[

](https://github.com/deviantony/docker-elk/issues/376
)
[

](https://github.com/deviantony/docker-elk/issues/382
)
[

](https://travis-ci.org/deviantony/docker-elk)
Run the latest version of the
[
Elastic stack
][
elk-stack
]
with Docker and Docker Compose.
...
...
@@ -167,8 +167,8 @@ Create an index pattern via the Kibana API:
```
console
$
curl
-XPOST
-D-
'http://localhost:5601/api/saved_objects/index-pattern'
\
-H
'Content-Type: application/json'
\
-H
'kbn-version:
6.7.0
'
\
-u
kibana:<your generated kibana
password>
\
-H
'kbn-version:
7.0.1
'
\
-u
elastic:<your generated elastic
password>
\
-d
'{"attributes":{"title":"logstash-*","timeFieldName":"@timestamp"}}'
```
...
...
docker-stack.yml
View file @
05e527c5
...
...
@@ -3,7 +3,7 @@ version: '3.3'
services
:
elasticsearch
:
image
:
docker.elastic.co/elasticsearch/elasticsearch:
6.7.0
image
:
docker.elastic.co/elasticsearch/elasticsearch:
7.0.1
ports
:
-
"
9200:9200"
-
"
9300:9300"
...
...
@@ -20,7 +20,7 @@ services:
replicas
:
1
logstash
:
image
:
docker.elastic.co/logstash/logstash:
6.7.0
image
:
docker.elastic.co/logstash/logstash:
7.0.1
ports
:
-
"
5000:5000"
-
"
9600:9600"
...
...
@@ -38,7 +38,7 @@ services:
replicas
:
1
kibana
:
image
:
docker.elastic.co/kibana/kibana:
6.7.0
image
:
docker.elastic.co/kibana/kibana:
7.0.1
ports
:
-
"
5601:5601"
configs
:
...
...
elasticsearch/config/elasticsearch.yml
View file @
05e527c5
...
...
@@ -5,11 +5,6 @@
cluster.name
:
"
docker-cluster"
network.host
:
0.0.0.0
# minimum_master_nodes need to be explicitly set when bound on a public IP
# set to 1 to allow single node clusters
# Details: https://github.com/elastic/elasticsearch/pull/17288
discovery.zen.minimum_master_nodes
:
1
## Use single node discovery in order to disable production mode and avoid bootstrap checks
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
#
...
...
logstash/config/logstash.yml
View file @
05e527c5
...
...
@@ -3,7 +3,7 @@
## from https://github.com/elastic/logstash-docker/blob/master/build/logstash/config/logstash-full.yml
#
http.host
:
"
0.0.0.0"
xpack.monitoring.elasticsearch.
url
:
http://elasticsearch:9200
xpack.monitoring.elasticsearch.
hosts
:
[
"
http://elasticsearch:9200"
]
## X-Pack security credentials
#
...
...
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