centralize logging on CentOS 7 using Logstash and Kibana
Centralized logging is useful when trying to identify a problem with a server or application because it allows you to search all logs in a single location. It is also useful because it allows you to identify issues across multiple servers by associating their logs within a specific time frame. This series of tutorials will teach you how to install Logstash and Kibana on CentOS, and then how to add more filters to construct your log data.
article focuses on the introduction of ELK.
Back to top ELK protocol stack introduction and architecture
ELK is not a software, but a complete set of solutions, is the first acronym for three software products, Elasticsearch,logstash and Kibana. These three software are open-source software, usually with the use, but
ELK StackELK stack is also a combination of three open source software, the formation of a powerful real-time log collection analysis and display system.
Logstash: Log Collection tool, from local disk, network services (their own listening port, accept user log), Message Queuing to collect a variety of logs, and then filter analysis, and input the log into the Elasticsearch.
Elasticsearch: Log Distributed
Today is open source real-time log analysis ELK, ELK by ElasticSearch, Logstash and Kiabana three open source tools. Official website: https://www.elastic.co3 of these software are:Elasticsearch is an open source distributed search engine, it features: distributed, 0 configuration, automatic discovery, Index auto-shard, index copy mechanism, RESTful style interface, multi-data source, automatic search load,
ELK is a combination of Elasticsearch Logstash Kibana;Here is a simple how to install under the centos6.x system, follow-up write how to use these software;This is based on the official website recommended using Yum method installed;1. ElasticsearchRPM--import Https://packages.elastic.co/GPG-KEY-elasticsearcCat/etc/yum.repos.d/elsticsearch.repo[Elasticsearch-2.x]name=elasticsearch repository for 2.x packagesbaseurl=http://packages.elastic.co/elasticse
Test installation in the latest ELK Stack versionLet's talk a little bit about it.First view versionFilebeat1.0.0-rc2 logstash2.0.0-1 elasticsearch2.0.0 kibana4.2So much content can be summarized as follows:GlossaryElasticsearch storage IndexKibana UIKibana dashboard visual mind chartLogstash Input Beats plugin collects eventsElasticsearch output plugin sends transactionsFilebeat log data shipperTopbeat lig
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.