Upgrade Kibana to 3.0

Source: Internet
Author: User
Tags kibana logstash

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1202126451-0.jpg "title =" QQ20131205102252.jpg "alt =" 105515797.jpg"/>

I found that Kibana has reached 3.0 a few days ago, and the message is seriously lagging behind. Please upgrade now!

Access www.kibana.org now will jump directly to the http://www.elasticsearch.org/overview/kibana/

Strong ES

wget https://download.elasticsearch.org/kibana/kibana/kibana-3.0.0milestone4.tar.gz

After decompression, it is found that it is different. Now it has become pure js and does not need to be installed, but at least an apache

[root@xman kibana-3.0.0milestone4]# lltotal 40drwxr-xr-x 6 root root 4096 Nov 29 11:12 app-rw-rw-r-- 1 root root 3096 Oct 18 06:19 build.txt-rw-rw-r-- 1 root root 1321 Oct 18 06:19 config.jsdrwxr-xr-x 2 root root 4096 Nov 29 11:12 cssdrwxr-xr-x 2 root root 4096 Nov 29 11:12 fontdrwxr-xr-x 2 root root 4096 Nov 29 11:12 img-rw-rw-r-- 1 root root 1737 Oct 18 06:19 index.html-rw-rw-r-- 1 root root  562 Oct 18 06:19 LICENSE.md-rw-rw-r-- 1 root root 3313 Oct 18 06:19 README.mddrwxr-xr-x 4 root root 4096 Nov 29 11:12 vendor

There are configuration steps on the page, but they are not very detailed. Maybe he thinks kibana will be used by anyone.

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1202123396-1.jpg "title =" QQ20131205102553.jpg "alt =" 105618336.jpg"/>

However, the modified file is config. js.

You need to add ES ports and addresses to use the most basic functions.

/**    elasticsearch: "http://"+window.location.hostname+":9200",*/    elasticsearch: "http://172.16.10.16:9200",    /**

Save and exit

Copy my kibana3.0 directory to the apache web directory.

cp /soft/kibana-3.0.0milestone4 /data1/kibanaweb

An apache command installed with yum is omitted.

Modify the configuration file/etc/httpd/conf. d/kibana. conf

Add the following content:

<VirtualHost *:80>        ServerName 172.16.10.16        DocumentRoot /data1/kibanaweb/        <Directory /data1/kibanaweb/>        Options None        AllowOverride None        Order Deny,Allow        Deny from all        Allow from all        </Directory>        CustomLog  /data1/logs/kibana combined</VirtualHost>

Start apache.

However, although the kibana3 welcome page was displayed during access to 172.16.10.16 at this time, there was no log, and a directory was found when reading others' articles.

[root@xman dashboards]# ll /data1/kibanaweb/app/dashboardstotal 44-rw-rw-r-- 1 apache apache  600 Oct 18 06:19 blank.json-rw-rw-r-- 1 apache apache 4664 Nov 29 13:01 default.json-rw-rw-r-- 1 apache apache 5125 Oct 18 06:19 default.json.bak-rw-rw-r-- 1 apache apache 6826 Oct 18 06:19 guided.json-rw-rw-r-- 1 apache apache 4664 Oct 18 06:19 logstash.json-rw-rw-r-- 1 apache apache 4205 Oct 18 06:19 noted.json

The default value is the welcome page of kibana3. If I want the default page to be logstash, I can directly convert logstash. json to default. json,

Now, if I access 172.16.10.16 again, I will see the figure below. How is it very easy ~

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1202125308-2.jpg "title =" QQ20131205105242.jpg "alt =" 105329607.jpg"/>

Attached kibana3 DEMO page, http://demo.kibana.org/#/dashboard to experience it ~~~

This article is from the "story of the Sky" blog, please be sure to keep this source http://storysky.blog.51cto.com/628458/1336289

Related Article

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.