diff --git a/.env b/.env index 084008c13d..691fb4194a 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -ELK_VERSION=7.9.2 +ELK_VERSION=8.0.0-SNAPSHOT diff --git a/README.md b/README.md index 3bd08734f0..6d1203c82a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Elastic stack (ELK) on Docker -[![Elastic Stack version](https://img.shields.io/badge/Elastic%20Stack-7.9.2-00bfb3?style=flat&logo=elastic-stack)](https://github.com/deviantony/docker-elk/issues/539) +[![Elastic Stack version](https://img.shields.io/badge/Elastic%20Stack-8.0.0--SNAPSHOT-00bfb3?style=flat&logo=elastic-stack)](https://github.com/deviantony/docker-elk/issues/543) [![Build Status](https://github.com/deviantony/docker-elk/workflows/CI/badge.svg?branch=master)](https://github.com/deviantony/docker-elk/actions?query=workflow%3ACI+branch%3Amaster) [![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) @@ -123,7 +123,7 @@ exclusively. Make sure the repository is cloned in one of those locations or fol ### Version selection This repository tries to stay aligned with the latest version of the Elastic stack. The `master` branch tracks the -current major version (7.x). +current major version (8.x). To use a different version of the core Elastic components, simply change the version number inside the `.env` file. If you are upgrading an existing stack, please carefully read the note in the next section. @@ -133,6 +133,7 @@ performing a stack upgrade.** Older major versions are also supported on separate branches: +* [`release-7.x`](https://github.com/deviantony/docker-elk/tree/release-7.x): 7.x series * [`release-6.x`](https://github.com/deviantony/docker-elk/tree/release-6.x): 6.x series * [`release-5.x`](https://github.com/deviantony/docker-elk/tree/release-5.x): 5.x series (End-Of-Life) @@ -190,9 +191,9 @@ users][builtin-users] instead for increased security. 1. Replace usernames and passwords in configuration files - 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 - (`logstash/config/logstash.yml`) in place of the existing `elastic` user. + Use the `kibana_system` user inside the Kibana 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. Replace the password for the `elastic` user inside the Logstash pipeline file (`logstash/pipeline/logstash.conf`). @@ -257,7 +258,7 @@ 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: 7.9.2' \ + -H 'kbn-version: 8.0.0-SNAPSHOT' \ -u elastic: \ -d '{"attributes":{"title":"logstash-*","timeFieldName":"@timestamp"}}' ``` diff --git a/docker-stack.yml b/docker-stack.yml index 696425c80e..d232c0e3a0 100644 --- a/docker-stack.yml +++ b/docker-stack.yml @@ -3,7 +3,7 @@ version: '3.3' services: elasticsearch: - image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2 + image: docker.elastic.co/elasticsearch/elasticsearch:8.0.0-SNAPSHOT ports: - "9200:9200" - "9300:9300" @@ -25,7 +25,7 @@ services: replicas: 1 logstash: - image: docker.elastic.co/logstash/logstash:7.9.2 + image: docker.elastic.co/logstash/logstash:8.0.0-SNAPSHOT ports: - "5044:5044" - "5000:5000" @@ -44,7 +44,7 @@ services: replicas: 1 kibana: - image: docker.elastic.co/kibana/kibana:7.9.2 + image: docker.elastic.co/kibana/kibana:8.0.0-SNAPSHOT ports: - "5601:5601" configs: diff --git a/kibana/config/kibana.yml b/kibana/config/kibana.yml index 5c09ec29cf..0e1dc60c54 100644 --- a/kibana/config/kibana.yml +++ b/kibana/config/kibana.yml @@ -1,6 +1,6 @@ --- ## Default Kibana configuration from Kibana base image. -## https://github.com/elastic/kibana/blob/master/src/dev/build/tasks/os_packages/docker_generator/templates/kibana_yml.template.js +## https://github.com/elastic/kibana/blob/master/src/dev/build/tasks/os_packages/docker_generator/templates/kibana_yml.template.ts # server.name: kibana server.host: 0.0.0.0 diff --git a/logstash/pipeline/logstash.conf b/logstash/pipeline/logstash.conf index 40ca75775c..7d5918ba88 100644 --- a/logstash/pipeline/logstash.conf +++ b/logstash/pipeline/logstash.conf @@ -15,5 +15,6 @@ output { hosts => "elasticsearch:9200" user => "elastic" password => "changeme" + ecs_compatibility => disabled } }