In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
SpringBoot uses how to install Kibana in ELK log collection. In view of this problem, this article introduces the corresponding analysis and solutions in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
1 install JDK
There are many online tutorials, so I won't repeat them.
2 install Kibana2.1 and download Kibana
This step requires downloading the same version of kibana as Elasticsearch, which I uploaded locally to the server, using 5.4.2.
Upload command
Scp / Users/dalaoyang/downloads/kibana-5.4.2-linux-x86_64.tar.gz root@ip:/usr/local/tool/kibana-5.4.2-linux-x86_64.tar.gz2.2 decompress Kibana
Upload the directory on the server and extract the kibana:
Tar-zxvf kibana-5.4.2-linux-x86_64.tar.gz2.3 modify configuration
Modify the config/kibana.yml file configuration:
Vim kibana.yml
Common configuration items for kibana.yml
# pingElasticsearch timeout elasticsearch.pingTimeout# read Elasticsearch data timeout elasticsearch.requestTimeout # Elasticsearch host address elasticsearch.url: "http://ip:9200" # allow remote access to server.host:" 0.0.0.0 "# Elasticsearch username here is actually my username for starting Elasticsearch on the server elasticsearch.username:" es "# Elasticsearch authentication password here is actually what I started on the server The password of moving Elasticsearch: elasticsearch.password: "es"
Just add the configuration according to the situation. The test I used is as follows:
# Elasticsearch host address elasticsearch.url: "http://ip:9200" # allows remote access to server.host:" 0.0.0.0 "# Elasticsearch username here is actually my username for starting Elasticsearch on the server elasticsearch.username:" es "# Elasticsearch authentication password here is actually my password for starting Elasticsearch on the server elasticsearch.password:" es "2.4 start Kibana# directly After entering the bin directory, the. / kibana# background starts, and after entering the bin directory, nohup. / kibana & 2.5 accesses the management page
Visit http://ip:5601 and you can see the following page:
Then you can use Kibana.
This is the answer to the question about how to install Kibana in SpringBoot's use of ELK log collection. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.