初探ELK-kibana使用小结
初探ELK-kibana使用小结2016/9/12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
1、安装
有2种方式下载,推荐缓存rpm包到本地yum源
1)直接使用rpm
wget https://download.elastic.co/kibana/kibana/kibana-4.6.1-x86_64.rpm
2)使用yum源
# rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
# vim /etc/yum.repos.d/kibana.repo
name=Kibana repository for 4.6.x packages
baseurl=https://packages.elastic.co/kibana/4.6/centos
gpgcheck=1
gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
# yum install kibana
3)启动服务
kibana默认会找到本地的es服务,因此直接启动服务即可:
# service kibana start
# chkconfig kibana on
2、使用
访问:
http://10.50.200.220:5601/app/kibana
要使用kibana,要根据已经创建的索引来配置一个对应的索引名称的正则,例如:
nginxaccess-*
接下来,去 discover 界面看看咱们获得了什么内容,搜索一下关键字试试筛选。
ZYXW、参考
1、官网doc
https://www.elastic.co/guide/en/kibana/current/setup-repositories.html
https://www.elastic.co/guide/en/kibana/current/status.html
https://www.elastic.co/guide/en/kibana/current/discover.html
https://www.elastic.co/guide/en/shield/current/kibana.html#kibana4-server-role
页:
[1]