美文网首页
docker部署elk

docker部署elk

作者: xi4okv | 来源:发表于2017-12-12 16:15 被阅读35次
    version: '2'
    services:
        kibana: 
          image: kibana:4.5
          links: 
            - es
          ports: 
            - "5601:5601"
          environment:
            ELASTICSEARCH_URL: http://es:9200
        es: 
          image: elasticsearch:2.3
          ports:
            - "9200:9200"
    
        logstash:
          image: logstash:2.3
          ports:
           - "3456:3456"
          command: logstash -e 'input { http { port => 3456 } } output {elasticsearch { hosts => [es] }}'
    
    

    相关文章

      网友评论

          本文标题:docker部署elk

          本文链接:https://www.haomeiwen.com/subject/vgjnixtx.html