Kibana is an open source analysis and visualization platform for Elasticsearch, used to search and view interactive data stored in the Elasticsearch index. Using Kibana, advanced data analysis and display can be performed through various charts.
Kibana makes huge amounts of data easier to understand. It is easy 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 can be completed and Elasticsearch index monitoring can be started within a few minutes.
1. Installation of Kibana
[root@master ~]# yum -y localinstall kibana-7.6.2-x86_64.rpm
2, Kibana placement repair kibana.yml
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://192.168.20.41:9200", "http://192.168.20.42:9200"]
elasticsearch.username: "elastic"
elasticsearch.password: "hahashen"
logging.dest: /opt/kibana/kibana.log
3,启动Kibana
4. Check the port
Small pit: No port 5601 has been started for many times. At this time, check the log and find that the problem is not authorized.
Authorize restart
[root @ master ~] # chown kibana: kibana / opt / kibana /
5. Visit the page
This is just choosing to set our own
main page:
6. Kibana prompt function
Compared with the previous curl command, kibana is relatively simple, visual and more intuitive
Insert data:
Json is displayed directly on the right
7. The kibana installation and simple operation are over, please scan and pay attention to learn together