elk安装与搭建

匿名 (未验证) 提交于 2019-12-02 23:55:01

groupadd elsearch

useradd elsearch -g elsearch

vi elasticsearch.yml

 

su elsearch

 

:

: 

* soft nofile 65536

* hard nofile 131072

* soft nproc 2048

* hard nproc 4096

  

 

server.port: 5601

server.host: "0.0.0.0"

elasticsearch.url: "http://ip:9200"

kibana.index: ".kibana"

 

 


logstash
 

input {

    file {

        start_position => beginning

    }

}

filter {

 

}

output {

    elasticsearch {

    hosts => "ip:9200"

    }

 

}

 

 

 

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!