Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-elk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
Hiep Nguyen
docker-elk
Commits
15ba1557
Unverified
Commit
15ba1557
authored
Nov 17, 2017
by
Piergiorgio Lucidi
Committed by
Antoine Cotten
Nov 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to 6.0.0 OSS Edition (#196)
parent
23846b52
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
19 deletions
+13
-19
.env
.env
+1
-1
.travis.yml
.travis.yml
+3
-3
README.md
README.md
+5
-12
docker-compose.yml
docker-compose.yml
+1
-0
Dockerfile
elasticsearch/Dockerfile
+1
-1
Dockerfile
kibana/Dockerfile
+1
-1
Dockerfile
logstash/Dockerfile
+1
-1
No files found.
.env
View file @
15ba1557
ELK_VERSION=
5.6.3
ELK_VERSION=
6.0.0
.travis.yml
View file @
15ba1557
...
...
@@ -28,7 +28,7 @@ script:
-
docker-compose up -d
# Verifications
-
sleep
4m
-
sleep
90
-
docker-compose logs
-
curl --retry 10 --retry-delay 5 -
v
http://localhost:9200/ -u elastic:changeme
-
curl --retry 10 --retry-delay 5 -v http://localhost:5601/
-
curl --retry 10 --retry-delay 5 -
D-
http://localhost:9200/ -u elastic:changeme
-
curl --retry 10 --retry-delay 5 -
ID-
v http://localhost:5601/
README.md
View file @
15ba1557
# Docker ELK stack
[

](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/182
)
[

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

](https://travis-ci.org/deviantony/docker-elk)
Run the latest version of the ELK (Elasticsearch, Logstash, Kibana) stack with Docker and Docker Compose.
...
...
@@ -75,7 +75,7 @@ You can also choose to run it in background (detached mode):
$
docker-compose up
-d
```
Give Kibana a
bout 2 minute
s to initialize, then access the Kibana web UI by hitting
Give Kibana a
few second
s 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:
*
user:
*elastic*
...
...
@@ -122,20 +122,13 @@ about the index pattern configuration.
Run this command to create a Logstash index pattern:
```
console
$
curl
-XPUT
-D-
'http://localhost:9200/.kibana/
index-pattern/logstash-*
'
\
$
curl
-XPUT
-D-
'http://localhost:9200/.kibana/
doc/index-pattern:docker-elk
'
\
-H
'Content-Type: application/json'
\
-u
kibana:changeme
\
-d
'{"t
itle" : "logstash-*", "timeFieldName": "@timestamp", "notExpandable": true
}'
-d
'{"t
ype": "index-pattern", "index-pattern": {"title": "logstash-*", "timeFieldName": "@timestamp"}
}'
```
This command will mark the Logstash index pattern as the default index pattern:
```
console
$
curl
-XPUT
-D-
'http://localhost:9200/.kibana/config/5.6.3'
\
-H
'Content-Type: application/json'
\
-u
kibana:changeme
\
-d
'{"defaultIndex": "logstash-*"}'
```
This will automatically be marked as the default index pattern as soon as the Kibana UI is opened for the first time.
## Configuration
...
...
docker-compose.yml
View file @
15ba1557
...
...
@@ -14,6 +14,7 @@ services:
-
"
9300:9300"
environment
:
ES_JAVA_OPTS
:
"
-Xmx256m
-Xms256m"
ELASTIC_PASSWORD
:
changeme
networks
:
-
elk
...
...
elasticsearch/Dockerfile
View file @
15ba1557
ARG
ELK_VERSION
# https://github.com/elastic/elasticsearch-docker
FROM
docker.elastic.co/elasticsearch/elasticsearch:${ELK_VERSION}
FROM
docker.elastic.co/elasticsearch/elasticsearch
-basic
:${ELK_VERSION}
# Add your elasticsearch plugins setup here
# Example: RUN elasticsearch-plugin install analysis-icu
kibana/Dockerfile
View file @
15ba1557
ARG
ELK_VERSION
# https://github.com/elastic/kibana-docker
FROM
docker.elastic.co/kibana/kibana:${ELK_VERSION}
FROM
docker.elastic.co/kibana/kibana
-x-pack
:${ELK_VERSION}
# Add your kibana plugins setup here
# Example: RUN kibana-plugin install <name|url>
logstash/Dockerfile
View file @
15ba1557
ARG
ELK_VERSION
# https://github.com/elastic/logstash-docker
FROM
docker.elastic.co/logstash/logstash:${ELK_VERSION}
FROM
docker.elastic.co/logstash/logstash
-x-pack
:${ELK_VERSION}
# Add your logstash plugins setup here
# Example: RUN logstash-plugin install logstash-filter-json
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