A Profile
Kiana is an open source data analysis and visualization platform, it is one of Elastic Stack members, and Elasticsearch designed for collaboration. You can use the data Kiana Elasticsearch index search, view, interact. You can easily make use of charts, tables and maps the data analysis and presentation of a wide range of
Fundamental contents
Kibana core product is equipped with a number of classic features: bar charts, line graphs, pie charts, diagram sun, and so on. Of course, you can also search all your documents.
Two Features
1. Timing Visual Generator
Timing Visual Generator (TSVB) is a timing data visualization tool that uses the full power Elasticsearch polymeric frame may be numerous polymerization and polymerization pipe together so as to display complex data productive manner.
2. geospatial analysis
For many users Elastic Stack's, the "where" is a critical issue. Whether you want to protect your network from attacks or to investigate why the application of site-specific response for a long time, or just make a home network about the car, and search geospatial data plays an important role.
3. Chart
By means of a line graph, area charts and bar graphs , you draw data X / Y axis. FIG hot able to display data in graphical form in FIG hot, the individual values included in the matrix will be represented with a color or color gradient. Pie There is also a variant, i.e. comprising two circular ring chart in FIG annular, segmented pie sheet is no longer, but the annular sheet.
4. Indicators
Visual display a single digit indicators for each polymerization. These indicators show the following: count, average, sum, min / max, standard deviation, percentile, and the like.
Table 5. Data
Data Sheet panels is one of the most common methods of expressing your data. Configure your data table to acquire a specific point in time, or with your real-time data to dynamically synchronize the latest progress.
6. tag cloud
Tag cloud is representative of your text data (usually free text format). Tags are usually single words, the importance of the polymerization index (count, average, sum and the like) is determined, and is emphasized by the font size and color.
7.Vega(定制)
借助 Vega 和 Vega-Lite,无需使用 JavaScript 便能制作出定制可视化。在 Kibana 中创建可视化(无论是单独的,还是地图上的)时,既可以使用来自单一 Elasticsearch 查询的数据,也可以使用来自多个数据源的数据
同时还有非常丰富的插件功能
三 安装
3.1 下载包
[root@node1 ~]# cd /usr/local/src/
[root@node1 src]# wget https://artifacts.elastic.co/downloads/kibana/kibana-7.4.2-linux-x86_64.tar.gz
[root@node1 src]# tar -xf kibana-7.4.2-linux-x86_64.tar.gz
[root@node1 src]# mv kibana-7.4.2-linux-x86_64 /usr/local/kibana
You have new mail in /var/spool/mail/root
[root@node1 src]# cd /usr/local/kibana
[root@node1 kibana]# useradd kibana
[root@node1 kibana]# chown -R kibana:kibana /usr/local/kibana/
3.2 kibana的配置
[root@node1 kibana]# vi config/kibana.yml
需要配置ElasticSearch的地址,配置文件在/usr/local/kibana/kibana.yml 。 在kibana.yml文件需要配置配置的选项如下:
[root@node1 kibana]# grep -Ev "^$|[#;]" config/kibana.yml
server.port: 5601 server.host: "0.0.0.0" elasticsearch.hosts: ["http://192.168.132.131:9200"]
kibana的配置和目录如下表所示:
配置类型 | 描述 | 路径 |
---|---|---|
home | Kibana 的home目录 | /usr/local/kibana |
bin | Kibana 的bin目录 | /usr/local/kibana/bin |
config | Kibana 的配置目录 | /usr/local/kibana/config/kibana.yml |
data | Kibana 的data目录 | /usr/local/kibana/bin |
plugins | Kibana 的plugins目录 | /usr/local/kibana/plugins |
[root@node1 kibana]# vi /lib/systemd/system/kibana.service
[Unit] Description=Kibana [Service] Type=simple User=kibana Environment=CONFIG_PATH=/usr/local/kibana/config/kibana.yml Environment=NODE_ENV=dev ExecStart=/usr/local/kibana/bin/kibana [Install] WantedBy=multi-user.target
[root@node1 kibana]# systemctl status kibana
[root@node1 kibana]# netstat -ntlp
3.3 访问使用
3.4 简单使用数据探索
创建paltten
创建
选择实时的
然后就可以地看到我们的两个索引
查看日志
筛选查询
metricbeat数据显示
对于kibana的安装和简单的日志实时显示学习到这里