ELK--kibana
- Kibana is an open source analysis and visualization platform for Elasticsearch, used to search and view interactive data stored in the Elasticsearch index. With Kibana, advanced data analysis and display can be performed through various charts.
- Kibana makes huge amounts of data easier to understand. It is simple to operate, and the browser-based user interface can quickly create a dashboard (dashboard) to display Elasticsearch query dynamics in real time.
- Setting up Kibana is very simple. No coding or additional infrastructure is required, Kibana installation and Elasticsearch index monitoring can be completed within a few minutes.
1. Download and unzip the installation package, be sure to install the same version as ES
Download address: https://www.elastic.co/downloads/kibana (domestic mirror address: https://www.newbe.pro/Mirrors/Mirrors-Kibana/)
Download the installation package:
# 下载:
wget https://mirrors.huaweicloud.com/kibana/6.4.1/kibana-6.4.1-linux-x86_64.tar.gz
# 解压
tar -xvf kibana-6.4.1-linux-x86_64.tar.gz
Installation package file structure:
Types of | description | Default location |
---|---|---|
bin | Start kibana services including kibana and kibana-plugin binary scripts to install plugins |
$KIBANA_HOME\bin |
config | Included kibana.yml configuration files |
$KIBANA_HOME\config |
data | The location of the data file written to disk by Kibana and its plugins | $KIBANA_HOME\data |
optimize | Transpiled source code, some management operations (such as plug-in installation) will cause the source code to be retransmitted | $KIBANA_HOME\optimize |
plugins | The location of plugin files, each plugin is contained in a subdirectory | $KIBANA_HOME\plugins |
2. Configuration
Edit the file config/kibana.yml and configure the properties:
cd kibana-6.4.1-linux-x86_64/
vim /config/kibana.yml
Add to:
server.host: "0.0.0.0"
elasticsearch.url: "http://127.0.0.1:9200"
3. Kibana
sh bin/kibana &
4. Check the running status in the browser
Use a browser to visit http://ip:5601 (the default port is 5601, which can be set in the configuration file), enter the home page
Kibana visual management page description
- Discover: Log management view, mainly for search and query
- Visualize: statistical view to build a visual chart
- Dashboard: Instrument view Combine the constructed charts to form a chart panel
- Timelion: Timeline view Data over time
- APM: Performance Management View Application performance management system
- Canvas: Large screen display image
- Dev Tools: Developer Command View Development Tools
- Monitoring: Health View Request to access performance warning
- Management: Management View Management Tools
For detailed usage, please refer to: https://www.cnblogs.com/xuxinga/p/10737513.html