当前位置: 首页 > elasticsearch, 搜索 > 正文

elasticsearch下kibana安装

1 星2 星3 星4 星5 星 (3 次投票, 评分: 4.00, 总分: 5)
Loading ... Loading ...
baidu_share

时一个数据可视化的软件,纯js+html,效果非常的旋.在elasticsearch下的安装很简单。

官方简介如下:kibana可视化日志和时间戳的数据。kibana与elasticsearch无缝工作,让你看到,并与你的数据交互。特点:
1.不需要别的代码。
2.数据流的实时分析
3.高扩展
4.开源项目,社区驱动。

无缝集成Logstash,Apache Flume,Fluentd等等。

一.在http://www.elasticsearch.org/overview/kibana/installation/下载https://download.elasticsearch.org/kibana/kibana/kibana-3.0.0milestone4.zip

二.解压缩kibana-3.0.0milestone4.zip,修改config.js,设置elasticsearch参数。
把window.location.hostname修改为elasticsearch机器的ip。实例如下:

/**
 * These is the app's configuration, If you need to configure
 * the default dashboard, please see dashboards/default
 */
define(['settings'],
function (Settings) {
 
 
  return new Settings({
 
    /**
     * URL to your elasticsearch server. You almost certainly don't
     * want 'http://localhost:9200' here. Even if Kibana and ES are on
     * the same host
     *
     * By default this will attempt to reach ES at the same host you have
     * elasticsearch installed on. You probably want to set it to the FQDN of your
     * elasticsearch host
     * @type {String}
     */
    elasticsearch: "http://"+"192.168.1.2"+":9200",
 
    /**
     * The default ES index to use for storing Kibana specific object
     * such as stored dashboards
     * @type {String}
     */
    kibana_index: "kibana-int",
 
    /**
     * Panel modules available. Panels will only be loaded when they are defined in the
     * dashboard, but this list is used in the "add panel" interface.
     * @type {Array}
     */
    panel_names: [
      'histogram',
      'map',
      'pie',
      'table',
      'filtering',
      'timepicker',
      'text',
      'fields',
      'hits',
      'dashcontrol',
      'column',
      'derivequeries',
      'trends',
      'bettermap',
      'query',
      'terms'
    ]
  });
});

然后把修改后的目录拷贝到tomcat下,或者apache 等web容器。启动web容器。

3.访问kibana目录。例如:http://192.168.1.2:8080/kibana3/

页面如下:
kibana3
由于没有安装Logstash,点击里面的”Sample Dashboard”,可以看到效果。
kibana3-dashboard

本文固定链接: http://www.chepoo.com/elasticsearch-kibana-install.html | IT技术精华网

elasticsearch下kibana安装:等您坐沙发呢!

发表评论