Kibana displays flume logs in the elasticsearch Cluster

Source: Internet
Author: User
Tags kibana logstash

For details about how to import logs to elasticsearch clusters Through flume, see flume log import to elasticsearch clusters.

Kibana Introduction

Kibana Homepage

Kibana is a powerful elasticsearch data display client. logstash has built-in kibana. You can also deploy kibana separately. The latest version of kibana3 is a pure HTML + JS client, it can be conveniently deployed on HTTP servers such as Apache and nginx.

Kibana3 address: https://github.com/elasticsearch/kibana
Address for kibana2: https://github.com/rashidkpc/Kibana
Kibana3 demo address: http://demo.kibana.org

From the demo, let's take a look at some basic functions of kibana.

Chart

A data table that allows you to customize the display sequence of columns.

The actually executed query statement is displayed.

Add a row

Add a panel to view the supported Panel types.

Add a pie chart

Display statistical results with map

Statistics by HTTP response code

Rich query syntax




Install kibana3

<span style="font-size:18px;">wget https://download.elasticsearch.org/kibana/kibana/kibana-latest.zipunzip kibana-latest.zipmkdir -p /var/www/logstash/mv kibana-latest/* /var/www/logstash/cd /var/www/logstash/app/dashboards</span>

Modify config. js

<span style="font-size:18px;"> elasticsearch: "http://"+"localhost"+":9200",</span>

Modify APP/dashboards/logstash. JSON to change [logstash-] YYYY. Mm. dd to the name of the index under es, as shown in)

<span style="font-size:18px;"> "pattern": "[logstash1-]YYYY-MM-DD",</span>


Then, upload the index.html of kibanain the browser.

See the following figure:


Kibana displays flume logs in the elasticsearch Cluster

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.