快讯资讯
手机优化
系统数码
网络通信人工智能
网站游戏
测评专题

  Kibana的搭建与配置       zipkin的安装与搭建    

Kibana的搭建与配置

时间:2026-09-10 00:11 来源:未知 人气:

Kibana是一个开源的分析与可视化平台,设计出来用于和Elasticsearch一起使用的。你可以用kibana搜索、查看、交互存放在Elasticsearch索引里的数据,使用各种不同的图表、表格、地图等kibana能够很轻易地展示高级数据分析与可视化。

注意:kibana和Elasticsearch的版本要一致,否则会有问题

下载与解压 wgethttps://artifacts.elastic.co/downloads/kibana/kibana-6.6.1-linux-x86_64.tar.gz tar-xvfkibana-6.6.1-linux-x86_64.tar.gz mvkibana-6.6.1-linux-x86_64/usr/local/kibana 修改配置文件

/usr/local/kibana/config/kibana.yml

#Kibanaisservedbyabackendserver.Thissettingspecifiestheporttouse. server.port:5601#监听端口 #SpecifiestheaddresstowhichtheKibanaserverwillbind.IPaddressesandhostnamesarebothvalidvalues. #Thedefaultis'localhost',whichusuallymeansremotemachineswillnotbeabletoconnect. #Toallowconnectionsfromremoteusers,setthisparametertoanon-loopbackaddress. server.host:"0.0.0.0"#服务ip #EnablesyoutospecifyapathtomountKibanaatifyouarerunningbehindaproxy.Thisonlyaffects #theURLsgeneratedbyKibana,yourproxyisexpectedtoremovethebasePathvaluebeforeforwardingrequests #toKibana.Thissettingcannotendinaslash. #server.basePath:"" #Themaximumpayloadsizeinbytesforincomingserverrequests. #server.maxPayloadBytes:1048576 #TheKibanaserver'sname.Thisisusedfordisplaypurposes. #server.name:"your-hostname" #TheURLoftheElasticsearchinstancetouseforallyourqueries. elasticsearch.url:"http://10.1.1.1:9200"#elasticsearch集群中其中IP #Whenthissetting'svalueistrueKibanausesthehostnamespecifiedintheserver.host #setting.Whenthevalueofthissettingisfalse,Kibanausesthehostnameofthehost #thatconnectstothisKibanainstance. elasticsearch.preserveHost:true #KibanausesanindexinElasticsearchtostoresavedsearches,visualizationsand #dashboards.Kibanacreatesanewindexiftheindexdoesn'talreadyexist. kibana.index:".kibana" #Thedefaultapplicationtoload. kibana.defaultAppId:"discover" ...... 启动脚本

保存文件/lib/systemd/system/kibana.service

[Unit] Description=Kibana After=network.target [Service] ExecStart=/workspace/kibana/bin/kibana Type=simple PIDFile=/var/run/kibana.pid Restart=always [Install] WantedBy=default.target systemctlenablekibana#开机自启动 systemctlstartkibana#启动kibana 添加日志index

本文标签:

更多文章

相关文章

网站导航 | 快讯 | 资讯 | 手机 | 优化

  • 数码 | 网络通信 | 人工智能 | 网站 | 游戏

    合作伙伴:

  • 友情链接(欢迎业界知名网站交换链接)申请友情

    

    声明:本站资源皆来自网络,如有侵权问题,请联系管理员处理!

    Copyright ©2020-2028快知站 版权所有 All rights reserved.

    闽ICP备20010713号-1 闽公网安备 35020602001684号