mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
removed localhost from config.js, added guessing of ES host
This commit is contained in:
parent
a43e9252c8
commit
c5678139ef
14
config.js
14
config.js
@ -12,10 +12,14 @@ If you need to configure the default dashboard, please see dashboards/default
|
|||||||
*/
|
*/
|
||||||
var config = new Settings(
|
var config = new Settings(
|
||||||
{
|
{
|
||||||
elasticsearch: 'http://localhost:9200',
|
// By default this will attempt to reach ES at the same host you have
|
||||||
kibana_index: "kibana-int",
|
// elasticsearch installed on. You probable want to set it to the FQDN of your
|
||||||
modules: ['histogram','map','pie','table','stringquery','sort',
|
// elasticsearch host
|
||||||
'timepicker','text','fields','hits','dashcontrol',
|
elasticsearch: "http://"+window.location.hostname+":9200",
|
||||||
'column'],
|
// elasticsearch: 'http://localhost:9200',
|
||||||
|
kibana_index: "kibana-int",
|
||||||
|
modules: ['histogram','map','pie','table','stringquery','sort',
|
||||||
|
'timepicker','text','fields','hits','dashcontrol',
|
||||||
|
'column'],
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user