docker elk 6安装

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"
}

你可能感兴趣的:(db,linux)