2013-12-23 20:16:51 +01:00
|
|
|
/** @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.
|
2013-11-12 20:57:20 +01:00
|
|
|
*/
|
|
|
|
define(['settings'],
|
2013-12-23 20:16:51 +01:00
|
|
|
function (Settings) {
|
|
|
|
"use strict";
|
2013-11-21 11:36:29 +01:00
|
|
|
|
2013-12-23 20:16:51 +01:00
|
|
|
/** @scratch /configuration/config.js/2
|
|
|
|
* === Parameters
|
|
|
|
*/
|
|
|
|
return new Settings({
|
2013-11-12 20:57:20 +01:00
|
|
|
|
2013-12-23 20:16:51 +01:00
|
|
|
/** @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.hostname+":"+@@port,
|
2013-11-12 20:57:20 +01:00
|
|
|
|
2013-12-23 20:16:51 +01:00
|
|
|
/** @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 : '@@default_route',
|
2013-11-12 20:57:20 +01:00
|
|
|
|
2013-12-23 20:16:51 +01:00
|
|
|
/** @scratch /configuration/config.js/5
|
|
|
|
* ==== kibana-int
|
|
|
|
*
|
|
|
|
* The default ES index to use for storing Kibana specific object
|
|
|
|
* such as stored dashboards
|
|
|
|
*/
|
|
|
|
kibana_index: ".marvel-kibana",
|
2013-11-12 20:57:20 +01:00
|
|
|
|
2013-12-23 20:16:51 +01:00
|
|
|
/** @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',
|
|
|
|
'sparklines',
|
|
|
|
'marvel.stats_table'
|
|
|
|
]
|
|
|
|
});
|
2013-11-12 20:57:20 +01:00
|
|
|
});
|