Linux 环境 离线 ELK7.4.0之Kibana搭建

ELK部分文章是需要配套一起看才可以完整了解这块的搭建使用,目前文档将搭建和使用分篇来介绍,通过ELK文档中入口来找到你想要的部分内容。

解压安装包

cd /home/elk/kibana
tar -xvf kibana-7.4.0-linux-x86_64.tar.gz # 解压文件到当前目录,可以通过 -C 来指定解压目录

在这里插入图片描述

配置属性

kibana.yml重要片段

server.host必须设置成需要访问的具体ip,否则无法通过服务器的ip来访问,智能通过http://localhost:5691/ 这个地址来访问

# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address.
#server.host: "localhost"


访问es的地址,这个ip必须和es配置属性的一致, localhost!=具体机器ip,如果Kibana和ElasticSearch不在一台服务器上,注意修改该配置
# The URLs of the Elasticsearch instances to use for all your queries.
#elasticsearch.hosts: ["http://localhost:9200"]

服务启动

cd kibana-7.4.0-linux-x86_64

#非后台启动服务方式
bin/kibana


#后台启动服务方式
nohup bin/kibana &

服务运行情况检查

#查看服务进程
ps -ef|grep kibana 

#日志信息查看
nohup 方式启动以后原先控制台的日志输出在运行脚本的目录下的nohup.out文件

tail -fn200 /home/elk/kibana/nohup.out
#服务测试
# 浏览器打开 http://ip:5601/

在这里插入图片描述在这里插入图片描述在这里插入图片描述

参考资料

这篇文章绝大多数内容都是从官网的开发文档中找到依据,少量的参考其他资料,结合实际验证而来.官网的相关资料都在上文相应的位置做了链接,此处不再重复列举,提供一个官网地址涵盖全部官网的参考资料。

发布了22 篇原创文章 · 获赞 1 · 访问量 3246

猜你喜欢

转载自blog.csdn.net/tian_111222333/article/details/102920699
今日推荐