下载地址:https://www.elastic.co/downloads/kibana
https://www.cndba.cn/hbhe0316/article/5022 https://www.cndba.cn/hbhe0316/article/5022 https://www.cndba.cn/hbhe0316/article/5022[root@ansible ~]# tar xvf /tmp/kibana-7.15.1-linux-x86_64.tar.gz -C / [root@ansible ~]# mv /kibana-7.15.1-linux-x86_64/ /kibana [root@ansible ~]# chown -R elk.elk /kibana/
修改配置config/kibana.ymlhttps://www.cndba.cn/hbhe0316/article/5022
https://www.cndba.cn/hbhe0316/article/5022 https://www.cndba.cn/hbhe0316/article/5022 https://www.cndba.cn/hbhe0316/article/5022elasticsearch.pingTimeout: 1500 elasticsearch.requestTimeout: 30000 server.port: 5601 elasticsearch.hosts: ["http://192.168.56.110:9200"] server.host: "0.0.0.0" kibana.index: ".kibana"
访问kibana:http://192.168.56.110:5601/app/home#/https://www.cndba.cn/hbhe0316/article/5022
https://www.cndba.cn/hbhe0316/article/5022通过配置logstash文件收集message日志
[elk@ansible ~]$ vi /logstash/config/system.conf input { file { path => "/var/log/messages" type => "system" start_position => "beginning" stat_interval => "2" } } output { elasticsearch { hosts => ["192.168.56.110"] index => "systemlog-%{+YYYY.MM.dd}" } } [elk@ansible ~]$ /logstash/bin/logstash -f /logstash/config/system.conf -t
查看数据如下https://www.cndba.cn/hbhe0316/article/5022
版权声明:本文为博主原创文章,未经博主允许不得转载。
ELK
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)