Skip to content

Commit

Permalink
Update to 6.0.0 OSS Edition (deviantony#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenPj authored and antoineco committed Nov 17, 2017
1 parent 5075caf commit 5f1824f
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ELK_VERSION=5.6.3
ELK_VERSION=6.0.0
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ script:
- docker-compose up -d

# Verifications
- sleep 4m
- sleep 30
- docker-compose logs
- curl --retry 10 --retry-delay 5 -v http:https://localhost:9200/
- curl --retry 10 --retry-delay 5 -v http:https://localhost:5601/
- curl --retry 10 --retry-delay 5 -D- http:https://localhost:9200/
- curl --retry 10 --retry-delay 5 -ID-v http:https://localhost:5601/
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Docker ELK stack

[![Join the chat at https://gitter.im/deviantony/docker-elk](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/deviantony/docker-elk?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Elastic Stack version](https://img.shields.io/badge/ELK-5.6.3-blue.svg?style=flat)](https://github.com/deviantony/docker-elk/issues/182)
[![Elastic Stack version](https://img.shields.io/badge/ELK-6.0.0-blue.svg?style=flat)](https://github.com/deviantony/docker-elk/issues/196)
[![Build Status](https://api.travis-ci.org/deviantony/docker-elk.svg?branch=master)](https://travis-ci.org/deviantony/docker-elk)

Run the latest version of the ELK (Elasticsearch, Logstash, Kibana) stack with Docker and Docker Compose.
Expand All @@ -17,9 +17,9 @@ Based on the official Docker images:

**Note**: Other branches in this project are available:

* ELK 5 with X-Pack support: https://github.com/deviantony/docker-elk/tree/x-pack
* ELK 5 in Vagrant: https://github.com/deviantony/docker-elk/tree/vagrant
* ELK 5 with Search Guard: https://github.com/deviantony/docker-elk/tree/searchguard
* ELK 6 with X-Pack support: https://github.com/deviantony/docker-elk/tree/x-pack
* ELK 6 in Vagrant: https://github.com/deviantony/docker-elk/tree/vagrant
* ELK 6 with Search Guard: https://github.com/deviantony/docker-elk/tree/searchguard

## Contents

Expand Down Expand Up @@ -79,7 +79,7 @@ You can also choose to run it in background (detached mode):
$ docker-compose up -d
```

Give Kibana about 2 minutes to initialize, then access the Kibana web UI by hitting
Give Kibana a few seconds to initialize, then access the Kibana web UI by hitting
[http:https://localhost:5601](http:https://localhost:5601) with a web browser.

By default, the stack exposes the following ports:
Expand Down Expand Up @@ -120,18 +120,12 @@ about the index pattern configuration.
Run this command to create a Logstash index pattern:

```console
$ curl -XPUT -D- 'http:https://localhost:9200/.kibana/index-pattern/logstash-*' \
$ curl -XPUT -D- 'http:https://localhost:9200/.kibana/doc/index-pattern:docker-elk' \
-H 'Content-Type: application/json' \
-d '{"title" : "logstash-*", "timeFieldName": "@timestamp", "notExpandable": true}'
-d '{"type": "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:https://localhost:9200/.kibana/config/5.6.3' \
-H 'Content-Type: application/json' \
-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

Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG ELK_VERSION

# https://github.com/elastic/elasticsearch-docker
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELK_VERSION}
FROM docker.elastic.co/elasticsearch/elasticsearch-oss:${ELK_VERSION}

# Add your elasticsearch plugins setup here
# Example: RUN elasticsearch-plugin install analysis-icu
9 changes: 0 additions & 9 deletions elasticsearch/config/elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,3 @@ discovery.zen.minimum_master_nodes: 1
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
#
discovery.type: single-node

## Disable X-Pack
## see https://www.elastic.co/guide/en/x-pack/current/xpack-settings.html
## https://www.elastic.co/guide/en/x-pack/current/installing-xpack.html#xpack-enabling
#
xpack.security.enabled: false
xpack.monitoring.enabled: false
xpack.ml.enabled: false
xpack.watcher.enabled: false
2 changes: 1 addition & 1 deletion kibana/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG ELK_VERSION

# https://github.com/elastic/kibana-docker
FROM docker.elastic.co/kibana/kibana:${ELK_VERSION}
FROM docker.elastic.co/kibana/kibana-oss:${ELK_VERSION}

# Add your kibana plugins setup here
# Example: RUN kibana-plugin install <name|url>
11 changes: 0 additions & 11 deletions kibana/config/kibana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,3 @@
server.name: kibana
server.host: "0"
elasticsearch.url: http:https://elasticsearch:9200

## Disable X-Pack
## see https://www.elastic.co/guide/en/x-pack/current/xpack-settings.html
## https://www.elastic.co/guide/en/x-pack/current/installing-xpack.html#xpack-enabling
#
xpack.security.enabled: false
xpack.monitoring.enabled: false
xpack.ml.enabled: false
xpack.graph.enabled: false
xpack.reporting.enabled: false
xpack.grokdebugger.enabled: false
2 changes: 1 addition & 1 deletion logstash/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG ELK_VERSION

# https://github.com/elastic/logstash-docker
FROM docker.elastic.co/logstash/logstash:${ELK_VERSION}
FROM docker.elastic.co/logstash/logstash-oss:${ELK_VERSION}

# Add your logstash plugins setup here
# Example: RUN logstash-plugin install logstash-filter-json
8 changes: 1 addition & 7 deletions logstash/config/logstash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,4 @@
## from https://github.com/elastic/logstash-docker/blob/master/build/logstash/config/logstash-oss.yml
#
http.host: "0.0.0.0"
path.config: /usr/share/logstash/pipeline

## Disable X-Pack
## see https://www.elastic.co/guide/en/x-pack/current/xpack-settings.html
## https://www.elastic.co/guide/en/x-pack/current/installing-xpack.html#xpack-enabling
#
xpack.monitoring.enabled: false
path.config: /usr/share/logstash/pipeline

0 comments on commit 5f1824f

Please sign in to comment.