Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 403562a

Browse files
authored
Merge pull request #21 from shazChaudhry/6.4.3
Upgraded to 6.4.3
2 parents 2b930f3 + e1f03c4 commit 403562a

6 files changed

+9
-9
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ SSH in to the master node of the Docker Swarm cluster allocated to running Elast
4949
* `cd docker-elastic`
5050

5151
* Deploy Elastic stack by running the following commands:
52-
* `export ELASTIC_VERSION=6.4.0`
52+
* `export ELASTIC_VERSION=6.4.3`
5353
* `docker network create --driver overlay elastic`
5454
* `docker stack deploy --compose-file docker-compose.yml elastic` _(This will deploy a reverse proxy, logstash, Kibana and 2x Elasticsearch instances in Master / data nodes configuration. Please note that Elasticsearch is configured to start as a global service which means data nodes will be scalled out automatically as soon as new nodes are added to the docker swarm cluster. Here is an explaination on various Elasticsearch cluster nodes: https://discuss.elastic.co/t/node-types-in-an-elasticsearch-cluster/25488)_
5555
* Check status of the stack services by running the following commands:
@@ -62,7 +62,7 @@ SSH in to the master node of the Docker Swarm cluster allocated to running Elast
6262
SSH in to the master node of the Docker Swarm cluster allocated to running containerized custom applicatins and beats. Clone this repo and change directory as per the instructions in the previous section
6363

6464
Execute the following commands to deploy filebeat and metricbeat:
65-
* `export ELASTIC_VERSION=6.4.0`
65+
* `export ELASTIC_VERSION=6.4.3`
6666
* `docker network create --driver overlay elastic`
6767
* Edit "filebeat-docker-compose.yml" file. Change environment variables for Kibana and Elasticseaerch hosts
6868
* `docker stack deploy --compose-file filebeat-docker-compose.yml filebeat` _(Filebeat starts as a global service on all docker swarm nodes. It is only configured to picks up container logs for all services at '`/var/lib/docker/containers/*/*.log`' (container stdout and stderr logs) and forward thtem to Elasticsearch. These logs will then be available under filebeat index in Kibana. You will need to add additional configurations for other log locations. You may wish to read [Docker Reference Architecture: Docker Logging Design and Best Practices](https://success.docker.com/article/docker-reference-architecture-docker-logging-design-and-best-practices))_

deployStack.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

33
docker network create --driver overlay elastic
4-
ELASTIC_VERSION=6.3.2 docker stack deploy -c docker-compose.yml elastic
4+
ELASTIC_VERSION=6.4.3 docker stack deploy -c docker-compose.yml elastic

docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ services:
3434
- BIND_PORTS=9200
3535

3636
elasticsearch:
37-
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION:-6.3.2}
37+
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION:-6.4.3}
3838
# https://github.com/docker/swarmkit/issues/1951
3939
hostname: "{{.Node.Hostname}}-elasticsearch"
4040
environment:
@@ -62,7 +62,7 @@ services:
6262
- com.df.srcPort=9200
6363

6464
logstash:
65-
image: docker.elastic.co/logstash/logstash:${ELASTIC_VERSION:-6.3.2}
65+
image: docker.elastic.co/logstash/logstash:${ELASTIC_VERSION:-6.4.3}
6666
hostname: "{{.Node.Hostname}}-logstash"
6767
environment:
6868
- XPACK_MONITORING_ELASTICSEARCH_URL=http://elasticsearch:9200
@@ -77,7 +77,7 @@ services:
7777
target: /usr/share/logstash/pipeline/logstash.conf
7878

7979
kibana:
80-
image: docker.elastic.co/kibana/kibana:${ELASTIC_VERSION:-6.3.2}
80+
image: docker.elastic.co/kibana/kibana:${ELASTIC_VERSION:-6.4.3}
8181
hostname: "{{.Node.Hostname}}-kibana"
8282
environment:
8383
- ELASTICSEARCH_URL=http://elasticsearch:9200

filebeat-docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
# How to Tune Elastic Beats Performance: A Practical Example with Batch Size, Worker Count, and More
66
# https://www.elastic.co/blog/how-to-tune-elastic-beats-performance-a-practical-example-with-batch-size-worker-count-and-more?blade=tw&hulk=social
77
filebeat:
8-
image: docker.elastic.co/beats/filebeat:${ELASTIC_VERSION:-6.3.2}
8+
image: docker.elastic.co/beats/filebeat:${ELASTIC_VERSION:-6.4.3}
99
# https://github.com/docker/swarmkit/issues/1951
1010
hostname: "{{.Node.Hostname}}-filebeat"
1111
# Need to override user so we can access the log files, and docker.sock

metricbeat-docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "3.6"
33
services:
44

55
metricbeat:
6-
image: docker.elastic.co/beats/metricbeat:${ELASTIC_VERSION:-6.3.2}
6+
image: docker.elastic.co/beats/metricbeat:${ELASTIC_VERSION:-6.4.3}
77
# https://github.com/docker/swarmkit/issues/1951
88
hostname: "{{.Node.Hostname}}-metricbeat"
99
user: root

packetbeat-docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "3.6"
33
services:
44

55
packetbeat:
6-
image: docker.elastic.co/beats/packetbeat:${ELASTIC_VERSION:-6.3.2}
6+
image: docker.elastic.co/beats/packetbeat:${ELASTIC_VERSION:-6.4.3}
77
# https://github.com/docker/swarmkit/issues/1951
88
hostname: "{{.Node.Hostname}}-packetbeat"
99
user: root

0 commit comments

Comments
 (0)