作者官方网站:http://www.wxl568.cn
日常启动大数据
ps aux|grep elasticsearch
./elasticsearch
命令验证curl -X GET http://127.0.0.1:9200/
logstash启动
./logstash -f logstash_A.conf
kibana启动
./kibana
如果此时看到表中只有localhost或者127.0.0.1记录,则说明未开启远程主机访问,此时进行以下步骤:
1、授权指定ip访问mysql
grant all privileges on *.* to '用户名'@'192.168.1.1' identified by '密码';
刷新权限使其生效
flush privileges;
注意:修改完成之后,要重启系统才会生效。我们可以通过以下命令查看msql服务是否对外开放端口。
netstat -an|grep 3306
配置文件要修改的config/kibana.yml
#端口
server.port: 5601
#主机
server.host: "172.20.1.186"
#es的地址
elasticsearch.url: "http://172.20.1.186:9200"
#kibana在es中的索引
kibana.index: ".kibana"
#端口
server.port: 5601
#主机
server.host: "10.118.182.85"
#es的地址
elasticsearch.url: http://10.118.182.85:9200
#kibana在es中的索引
kibana.index: ".kibana.yml"
osps地区预提核算支持、gps打卡配合运维计算数据
作者官方网站:http://www.wxl568.cn