ELK Elasticsearch+kibana+logstash Shelter Guide Installation steps

Source: Internet
Author: User
Tags kibana logstash

Log the pits that have been skipped from installation to normal use

1, the Java environment Problem , can be installed high version but must not lower than its requirements

Example: 650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/85/AE/wKioL1esMuPSWwacAABoPLzSFqc870.png "title=" Java.png "alt=" Wkiol1esmupswwacaaboplzsfqc870.png "/>


2, version compatibility issues , 3 software can be downloaded from the official website, and there will be comments require other software version

Official website: https://www.elastic.co/downloads

Example: 650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/85/AE/wKioL1esMv_CfbuQAABgBqnaFBw756.png "title=" Version.png "alt=" Wkiol1esmv_cfbuqaabgbqnafbw756.png "/>

3, for Elasticsearch, there are many plug-ins haed, Marvel, Kopf, Bigdesk and so on, according to the actual situation to download

Install the plugin correctly: it is in Elasticsearch bin/plugin install XXXX

Head plugin : Bin/plugin install Mobz/elasticsearch-head

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/85/AF/wKiom1esMxWAogtZAAJHix4LzNM047.png "title=" Head.png "alt=" Wkiom1esmxwaogtzaajhix4lznm047.png "/>

Marvel Plugin : The first step on es: bin/plugin install license, bin/plugin install elasticsearch/marvel/latest (all es are installed) /c4>

The second section is in the bin directory of the Kibana: Kibana plugin--install elasticsearch/marvel/latest

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/85/AE/wKioL1esMyizuCSsAAK1nD-zT9g214.png "title=" Marvel.png "alt=" Wkiol1esmyizucssaak1nd-zt9g214.png "/>


Kopf Plugin: Bin/plugin-install Lmenezes/elasticsearch-kopf

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/85/AF/wKiom1esMzzCdYsYAAFEu6ZvKFM256.png "title=" Kopf.png "alt=" Wkiom1esmzzcdysyaafeu6zvkfm256.png "/>

At first do not know, think the plug-in in the plugin directory can be, and then because of the head plugin problem, ES side of the overview, Kibana over there discovery all show no data

Configuration file for two ES

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/85/AE/wKioL1esM1Oi8al-AACcHbgD2eE173.png "style=" float: none; "title=" Es242.png "alt=" Wkiol1esm1oi8al-aacchbgd2ee173.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/85/AF/wKiom1esM1PTejk3AAC3y7QP-qw682.png "style=" float: none; "title=" Es243.png "alt=" Wkiom1esm1ptejk3aac3y7qp-qw682.png "/>


4, Kibana

The first time through the browser to access 5601 port, out of the interface I was a blank face


There is only one place to enter, and later to understand. This place is the corresponding index within the logstash.conf file, which is defined by itself. Conf inside the index you write what, that this place you fill in what, correctly fill in, will appear create this button. will be able to see this index all the log files in the discovery


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/85/AF/wKiom1esM3GTgKH3AAD3toEpYdc565.png "title=" Kibana.png "alt=" Wkiom1esm3gtgkh3aad3toepydc565.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/85/AF/wKiom1esM5_wlASXAAC7DaRfoxU270.png "title=" Kibana-conf.png "alt=" Wkiom1esm5_wlasxaac7darfoxu270.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/85/AF/wKiom1esNF2SPNAJAAGSKAZVEIw369.png "title=" 111. PNG "alt=" Wkiom1esnf2spnajaagskazveiw369.png "/>

5, Logstash

Starting mode Bin/logstash-f logstash.conf

The whole logstash is basically the Conf configuration file, YML format

I started by Logstash Agent to upload the log to the same redis, and then use the local logstash to pull the Redis log

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/85/AE/wKioL1esM-ThgKMbAAC6mEEOSQk423.png "style=" float: none; "title=" Logstash-agent.png "alt=" Wkiol1esm-thgkmbaac6meeosqk423.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/85/AE/wKioL1esM-TiAGWAAADtNoPw-wY606.png "style=" float: none; "title=" Logstash-indexer.png "alt=" Wkiol1esm-tiagwaaadtnopw-wy606.png "/>










This article is from the "My Linux Road" blog, reprint please contact the author!

ELK Elasticsearch+kibana+logstash Shelter Guide Installation steps

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.