Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Instructions
---

1) Setup an Docker Swarm, label an swarm node for elasticsearch usage and
modify kernel settings, see [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/6.3/docker.html)
modify kernel settings, see [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html)

```
echo "vm.max_map_count=262144" > /etc/sysctl.d/99-docker-elasticsearch.conf
Expand All @@ -35,11 +35,11 @@ Add Node label for elasticsearch
docker node update --label-add elasticsearch=es1 <node|node-uuid>
```

2) Build your customized filebeat docker image, filebeat version 6.3.0 is used.
2) Build your customized filebeat docker image

```
cd filebeat-customized
docker build -t filebeat:6.3.0-custom .
docker build -t filebeat:6.4.2-custom .

```
Deploy the image to your docker swarm infrastructure via a (private) docker registry, like Docker Index aka [Docker Hub](https://hub.docker.com/)
Expand Down
2 changes: 1 addition & 1 deletion filebeat-customized/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# a customized filebeat docker image based on offical filebeat
FROM docker.elastic.co/beats/filebeat:6.3.0
FROM docker.elastic.co/beats/filebeat:6.4.2

# we start filebeat under root, because we need the permission to
# read the information from the docker container path, mounted inside it
Expand Down
6 changes: 3 additions & 3 deletions stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: '3'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${VERSION:-6.3.0}
image: docker.elastic.co/elasticsearch/elasticsearch:${VERSION:-6.4.2}
environment:
ES_JAVA_OPTS: '-Xms256m -Xmx256m'
xpack.security.enabled: 'false'
Expand All @@ -23,7 +23,7 @@ services:
- node.labels.elasticsearch == es1

filebeat:
image: filebeat:${VERSION:-6.3.0}-custom
image: filebeat:${VERSION:-6.4.2}-custom
environment:
ELASTICSEARCH_HOST: 'elasticsearch'
ELASTICSEARCH_PORT: '9200'
Expand All @@ -36,7 +36,7 @@ services:
delay: 30s

kibana:
image: docker.elastic.co/kibana/kibana:${VERSION:-6.3.0}
image: docker.elastic.co/kibana/kibana:${VERSION:-6.4.2}
ports:
- '80:5601'
depends_on:
Expand Down