8

docker elk 6安装

 3 years ago
source link: https://blog.csdn.net/oqqYuan1234567890/article/details/89264098
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

docker elk 6安装

皿小草 2019-04-12 23:24:57 211

es官方安装

推荐安装方式:
elk6套装安装

$ docker-compose up
...
$ docker-compose ps
          Name                         Command               State                  Ports
---------------------------------------------------------------------------------------------------------
dockerelk_elasticsearch_1   /usr/local/bin/docker-entr ...   Up      0.0.0.0:9200->9200/tcp, 
                                                                     0.0.0.0:9300->9300/tcp
dockerelk_kibana_1          /bin/bash /usr/local/bin/k ...   Up      0.0.0.0:5601->5601/tcp
dockerelk_logstash_1        /usr/local/bin/docker-entr ...   Up      0.0.0.0:5000->5000/tcp, 5044/tcp,
                                                                     9600/tcp

只需要一条命令就可以安装完成,(生产环境版本请详细看教程,包括如何挂载数据卷)然后就是:

es权威指南

$ curl 'http://localhost:9200/?pretty'
{
  "name" : "PQzCHeB",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "XH0_ojb9Rp2oALQ933D8-Q",
  "version" : {
    "number" : "6.1.0",
    "build_hash" : "c0c1ba0",
    "build_date" : "2017-12-12T12:32:54.550Z",
    "build_snapshot" : false,
    "lucene_version" : "7.1.0",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK