(8) ElasticSearch data visualization and analysis tool Kibana installation and use

1 Overview

Kibana is an open source tool for data visualization and analysis that is part of the Elastic Stack (including Elasticsearch, Logstash, and Beats). Kibana provides an intuitive, interactive user interface that enables users to explore and visualize data stored in Elasticsearch in real-time in the form of charts, tables, maps, and more.

2. Installation and use:

1) Download Kibana:

Go to Elastic official website ( https://www.elastic.co/cn/downloads/kibana ) to download the Kibana installation package for your operating system.

2) Unzip the installation package:

Extract the downloaded Kibana tarball into a directory of your choice.
Unzip command:

tar -zxvf kibana-8.8.1-linux-x86_64.tar.gz 

3) Configure Kibana:

Enter the unzipped Kibana directory, edit config/kibana.ymlthe file to configure Kibana. You can specify connection information such as the address and port of Elasticsearch, and configure other options, such as the listening IP address and port.

Note:
In the Kibana configuration file kibana.yml, server.hostit is a configuration item used to specify the host address that Kibana listens to.
If you want to allow network access to Kibana, you can server.hostset the value of to the corresponding IP address or hostname. For example, setting it to 0.0.0.0means listen on all network interfaces, allowing access from any IP address.

  • server.host: localhost: Only allow local access to Kibana.
  • server.host: 0.0.0.0: Allow access to Kibana through all network interfaces.
  • server.host: 192.168.1.100: Allow access to Kibana only through the specified IP address.

4) Start Kibana:

Switch to the Kibana directory on the command line and execute the start command. For example, on a Linux system, you can run ./bin/kibanato start Kibana.

5) Access Kibana:

Visit in the browser http://localhost:5601(replace the ip of your own installation address, default port 5601), and you should be able to see the Kibana login interface.
insert image description here

6) Use Kibana:

insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/csdn570566705/article/details/131285231