Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Analysis on the use of Kibana UI Interface in Elastic Stack

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about the analysis of the use of the Kibana UI interface in Elastic Stack. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.

Kibana installation

Here, we still use Docker to install Kibana. In fact, it is very simple. You only need the following simple command:

Version:'2'

Services:

Kibana:

Image: docker.elastic.co/kibana/kibana:7.6.1

Environment:

ELASTICSEARCH_HOSTS: http://elasticsearch.example.org # the ES address is configured here.

As mentioned earlier, Kibana is just to query and analyze data from ES more amicably. The premise is to connect to the ES. So, you can use the following Docker Compose orchestration file to install both ES and Kibana:

Docker-compose.yml file:

Version: '2.2'

Services:

Es01:

Image: docker.elastic.co/elasticsearch/elasticsearch:7.6.1

Container_name: es01

Environment:

-node.name=es01

-discovery.type=single-node

-cluster.name=es-docker

-bootstrap.memory_lock=true

Ulimits:

Memlock:

Soft:-1

Hard:-1

Volumes:

-data01:/usr/share/elasticsearch/data

Ports:

-9200 purl 9200

Networks:

-elastic

Kibana:

Image: docker.elastic.co/kibana/kibana:7.6.1

Ports:

-5601 Fraser 5601

Environment:

ELASTICSEARCH_HOSTS: http://es01:9200 # the ES address is configured here.

Networks:

-elastic

Volumes:

Data01:

Driver: local

Networks:

Elastic:

Driver: bridge

Start through docker-compose:

Docker-compose up-d

After startup, you can access http://localhost:5601/:.

Kibana UI

As you can see from the left side of the figure, Kibana provides many functions, including the Dashboard panel, Dev Tools development tools (where you can use QSL statements for data experiments), APM application performance monitoring system, Logs logs, Metrics metrics analysis, and the emerging Machine Learning machine learning.

Let's start with the Dev Tools tool, which is also a tool we often use, which provides syntax hints and a convenient way to execute queries quickly:

Dev Tools

As shown in the figure above, a piece of data is written to the hello index, and then the data is queried from the index. For more information on QSL syntax, see the official document: https://www.elastic.co/guide/en/elasticsearch/reference/7.6/rest-apis.html

Next, let's talk about the monitoring function of ES by Kibana in order to monitor the health status of the ES cluster connected by Kibana:

Monitoring

From this panel, you can view the current ES cluster health overview, the current number of nodes, the resource consumption of each node, and the current cluster ES index:

Overviewes overview

This paper introduces how to install Kibana and how to write and query data through Kibana, as well as the common and powerful interface functions of Kiabna.

After reading the above, do you have any further understanding of the usage analysis of the Kibana UI interface in Elastic Stack? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report