Kibana를 사용한 Elasticsearch에는 빈 대시보드가 ​​표시됩니다.

Kibana를 사용한 Elasticsearch에는 빈 대시보드가 ​​표시됩니다.

Kibana 대시보드를 열면 다음이 표시됩니다.

http://192.168.10.25/#/dashboard

{{dashboard.current.title}}

로그를 추적하면 다음이 표시됩니다.

2014/05/14 13:31:45 [error] 17152#0: *7 open() "/var/www/kibana/app/diashboards/dashboard" failed (2: No such file or directory), client: `192.168.11.53`, server: `192.168.10.25`, request: "GET /app/diashboards/dashboard HTTP/1.1", host: `"192.168.10.25"`

나는 이것 때문에 머리를 뽑고 있습니다. 모든 도움을 주시면 감사하겠습니다.

이것은 내 config.js입니다.

 /** @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 +<a href="http://localhost:9200+">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://"192.168.10.25":9200",`
/*elasticsearch: "http://"+window.location.hostname+":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'
]
});
});

nginx (기본값)

/** @scratch /configuration/config.js/1
 * == Configuration
 * config.js is where you will find the core Kibana configuration. This file contains parameter that
 * must be set before kibana is run for the first time.
 */
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://"192.168.10.25":9200",`

답변1

저는 몇 대의 Kibana 서버를 설치했지만 전문가는 아닙니다. 거기에 다음 경로가 있다는 것을 알았습니다.

/var/www/kibana/app/diashboards/dashboard

대시보드의 철자가 틀렸어요. 그게 귀하의 문제인지는 모르겠지만 제 눈에는 그게 눈에 띄더군요.

답변2

이 줄은 잘못된 것 같습니다.

elasticsearch: `"http://"192.168.10.25":9200",`

그러면 안 되는가?

elasticsearch: "http://192.168.10.25:9200",

관련 정보