首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Kibana elasticsearch集成

Kibana elasticsearch集成
EN

Stack Overflow用户
提问于 2014-03-11 00:04:42
回答 1查看 3.7K关注 0票数 0

我正在尝试安装kibana + elasticsearch +流利。我有elasticsearch和流畅的安装和工作,但似乎无法使基班纳链接到elasticsearch。

我使用Kibana3,遵循elasticsearch网站上的安装说明。

基本上,下载Tar文件,提取内容,更改config.js,将elasticsearch参数设置为您的Elasticsearch服务器的完全限定主机名。将提取目录的内容复制到the服务器。

这一切我都做过了。我用apache运行ubuntu12.04。我将kibana文件复制到我的/var/www文件夹的根目录,当我访问该站点时,有一个带有kibana徽标的头{dashboard.current.title}。

我错过了什么。我的config.js文件如下

代码语言:javascript
复制
define(['settings'],
function (Settings) {


  /** @scratch /configuration/config.js/2
   * === Parameters
   */
  return new Settings({

    /** @scratch /configuration/config.js/5
     * ==== elasticsearch
     *
     * The URL to your elasticsearch server. You almost certainly don't
     * want +http://localhost:9200+ here. Even if Kibana and Elasticsearch are on
     * the same host. By default this will attempt to reach ES at the same host you have
     * kibana installed on. You probably want to set it to the FQDN of your
     * elasticsearch host
     */
    elasticsearch: "http://"+window.location.myserver-fqdn+":9200",

    /** @scratch /configuration/config.js/5
     * ==== default_route
     *
     * This is the default landing page when you don't specify a dashboard to load. You can specify
     * files, scripts or saved dashboards here. For example, if you had saved a dashboard called
     * `WebLogs' to elasticsearch you might use:
     *
     * +default_route: '/dashboard/elasticsearch/WebLogs',+
     */
    default_route     : '/dashboard/file/default.json',

    /** @scratch /configuration/config.js/5
     * ==== kibana-int
     *
     * The default ES index to use for storing Kibana specific object
     * such as stored dashboards
     */
    kibana_index: "kibana-int",

    /** @scratch /configuration/config.js/5
     * ==== panel_name
     *
     * An array of 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.
     */
    panel_names: [
      'histogram',
      'map',
      'pie',
      'table',
      'filtering',
      'timepicker',
      'text',
      'hits',
      'column',
      'trends',
      'bettermap',
      'query',
      'terms',
      'stats',
      'sparklines'
    ]
  });
});
EN

回答 1

Stack Overflow用户

发布于 2015-06-18 06:31:16

你必须在tomcat服务器上使用kibana 3。只需将您的基班纳文件夹复制到tomcat的webapp文件夹中即可。

  • 现在使用浏览器中的以下链接启动kibana : 8080是tomcat端口。 http:localhost:8080/Kibana-folder-name
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22313886

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档