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

Commit 780eb8c

Browse files
authored
Merge pull request #33 from shazChaudhry/v7.7.0
Upgraded Elastic Stack to version 7.7.0
2 parents 47df24a + 2bbc6a0 commit 780eb8c

15 files changed

+38
-33
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*.exe
77
*.o
88
*.so
9+
.idea
910

1011
# Packages #
1112
############

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
sudo: required
2+
dist: bionic
23
before_install:
4+
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
5+
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
36
- sudo apt-get update
47
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
5-
- docker version
8+
- docker --version
9+
610
services:
711
- docker
812

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ You will need these files to deploy Eleasticsearch, Logstash, Kibana, and Beats.
5050

5151
# Deploy Elastic Stack
5252
* SSH in to the master node of the Docker Swarm cluster allocated to running Elastic Stack. Deploy Elastic stack by running the following commands:
53-
* `export ELASTIC_VERSION=7.1.1`
53+
* `export ELASTIC_VERSION=7.7.0`
5454
* `export ELASTICSEARCH_USERNAME=elastic`
5555
* `export ELASTICSEARCH_PASSWORD=changeme`
5656
* `export INITIAL_MASTER_NODES=node1` _(See Important discovery and cluster formation settings: https://www.elastic.co/guide/en/elasticsearch/reference/current/discovery-settings.html#initial_master_nodes)_
@@ -67,7 +67,7 @@ You will need these files to deploy Eleasticsearch, Logstash, Kibana, and Beats.
6767
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 above.
6868

6969
Execute the following commands to deploy filebeat and metricbeat:
70-
* `export ELASTIC_VERSION=7.1.1`
70+
* `export ELASTIC_VERSION=7.7.0`
7171
* `export ELASTICSEARCH_USERNAME=elastic`
7272
* `export ELASTICSEARCH_PASSWORD=changeme`
7373
* `export ELASTICSEARCH_HOST=node1` _(node1 is default value if you are creating VirtualBox with the provided Vagrantfile. Otherwise, change this value to your Elasticsearch host)_

Vagrantfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ docker swarm join-token --quiet manager > /vagrant/manager_token
88
SCRIPT
99

1010
Vagrant.configure("2") do |config|
11-
# https://app.vagrantup.com/bento/boxes/ubuntu-18.04
12-
config.vm.box = "bento/ubuntu-18.04"
13-
config.hostmanager.enabled = true
11+
# https://app.vagrantup.com/bento/boxes/ubuntu-20.04
12+
config.vm.box = "bento/ubuntu-20.04"
13+
config.hostmanager.enabled = true
1414
config.hostmanager.manage_host = true
1515
config.hostmanager.manage_guest = true
1616
config.vm.provision "docker"

auditbeat-README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Eagerly waiting for Docker 19.06 release which will bring --privileged flag to D
33
Until capabilities are available in docker swarm mode, execute the following instructions on each node where auditbeat is required
44

55
Firstly, set the system variables as needed:
6-
- export ELASTIC_VERSION=7.1.1
6+
- export ELASTIC_VERSION=7.7.0
77
- export ELASTICSEARCH_USERNAME=elastic
88
- export ELASTICSEARCH_PASSWORD=changeme
99
- export ELASTICSEARCH_HOST=node1
@@ -26,7 +26,7 @@ And than run the command below:
2626
--env ELASTICSEARCH_PASSWORD=${ELASTICSEARCH_PASSWORD:-changeme} \
2727
--env ELASTICSEARCH_HOST=${ELASTICSEARCH_HOST:-node1} \
2828
--env KIBANA_HOST=${KIBANA_HOST:-node1} \
29-
docker.elastic.co/beats/auditbeat:${ELASTIC_VERSION:-7.1.1} \
29+
docker.elastic.co/beats/auditbeat:${ELASTIC_VERSION:-7.7.0} \
3030
--strict.perms=false
3131
```
3232

auditbeat-docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
version: "3.7"
1+
version: "3.8"
22

33
# https://www.elastic.co/guide/en/beats/auditbeat/current/auditbeat-overview.html
44
# Does not look like Auditd is supported in Alpine linux: https://github.com/linuxkit/linuxkit/issues/52
55

66
services:
77

88
auditbeat:
9-
image: docker.elastic.co/beats/auditbeat:${ELASTIC_VERSION:-7.1.1}
9+
image: docker.elastic.co/beats/auditbeat:${ELASTIC_VERSION:-7.7.0}
1010
# https://github.com/docker/swarmkit/issues/1951
1111
hostname: "{{.Node.Hostname}}-auditbeat"
1212
# Need to override user so we can access the log files, and docker.sock

deployStack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
export ELASTIC_VERSION=7.1.1
3+
export ELASTIC_VERSION=7.7.0
44
export ELASTICSEARCH_USERNAME=elastic
55
export ELASTICSEARCH_PASSWORD=changeme
66
export ELASTICSEARCH_HOST=node1

docker-compose.portainer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3.7'
1+
version: '3.8'
22

33
services:
44
agent:

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.7"
1+
version: "3.8"
22

33
# 10 Things to Consider When Planning Your Elasticsearch Project: https://ecmarchitect.com/archives/2015/07/27/4031
44
# Using Apache JMeter to Test Elasticsearch: https://ecmarchitect.com/archives/2014/09/02/3915
@@ -34,7 +34,7 @@ services:
3434
- BIND_PORTS=9200
3535

3636
elasticsearch:
37-
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION:-7.1.1}
37+
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION:-7.7.0}
3838
environment:
3939
# https://github.com/docker/swarmkit/issues/1951
4040
- node.name={{.Node.Hostname}}
@@ -61,7 +61,7 @@ services:
6161
- com.df.srcPort=9200
6262

6363
logstash:
64-
image: docker.elastic.co/logstash/logstash:${ELASTIC_VERSION:-7.1.1}
64+
image: docker.elastic.co/logstash/logstash:${ELASTIC_VERSION:-7.7.0}
6565
hostname: "{{.Node.Hostname}}-logstash"
6666
environment:
6767
- XPACK_MONITORING_ELASTICSEARCH_URL=http://elasticsearch:9200
@@ -76,7 +76,7 @@ services:
7676
target: /usr/share/logstash/pipeline/logstash.conf
7777

7878
kibana:
79-
image: docker.elastic.co/kibana/kibana:${ELASTIC_VERSION:-7.1.1}
79+
image: docker.elastic.co/kibana/kibana:${ELASTIC_VERSION:-7.7.0}
8080
hostname: "{{.Node.Hostname}}-kibana"
8181
environment:
8282
- ELASTICSEARCH_URL=http://elasticsearch:9200

examples/learn_autodiscover.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Use the provided Vagrantfile to create 3x VMs:
99

1010
### Versions
1111
Example has been tested in following versions:
12-
- Elasticsearch 7.1.1
13-
- Kibana 7.1.1
14-
- Filebeat 7.1.1
15-
- Metricbeat 7.1.1
12+
- Elasticsearch 7.7.0
13+
- Kibana 7.7.0
14+
- Filebeat 7.7.0
15+
- Metricbeat 7.7.0
1616

1717
### Elastic Stack - Apache2 module
1818
Ensure there is nothing listening on port 80.

0 commit comments

Comments
 (0)