项目作者: hatamiarash7

项目描述 :
Deploy ELK Stack in Docker Swarm
高级语言:
项目地址: git://github.com/hatamiarash7/DockerSwarm-ELK.git
创建时间: 2020-03-24T07:46:17Z
项目社区:https://github.com/hatamiarash7/DockerSwarm-ELK

开源协议:GNU General Public License v3.0

下载


Docker Swarm ELK Stack

Deploy ELK Stack in Docker Swarm

logo

By default, the stack exposes the following ports:

  • 5000 : Logstash TCP input
  • 9200 : Elasticsearch HTTP
  • 9300 : Elasticsearch TCP transport
  • 5601 : Kibana

Bringing up the stack

  1. docker stack deploy -c docker-stack.yml elk

If all components get deployed without any error, the following command will show 3 running services :

  1. docker stack services elk

Elastic License

You need license after terial time. You can use oss version of images for free version :

  • Change images :
  1. docker.elastic.co/elasticsearch/elasticsearch-oss:7.6.1
  2. docker.elastic.co/logstash/logstash-oss:7.6.1
  3. docker.elastic.co/kibana/kibana-oss:7.6.1
  • Remove XPack options from config files
  • Remove user/pass for logstash pipline