diff --git a/config.js b/config.js index d2ac347dfee..a99a3c0c5fe 100644 --- a/config.js +++ b/config.js @@ -17,7 +17,7 @@ var config = new Settings( // 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 - elasticsearch: window.location.protocol+"//"+window.location.hostname+":9200", + elasticsearch: "http://"+window.location.hostname+":9200", // elasticsearch: 'http://localhost:9200', kibana_index: "kibana-int", modules: ['histogram','map','pie','table','stringquery','sort', diff --git a/js/services.js b/js/services.js index d0716c3dc11..ed12ee8607f 100644 --- a/js/services.js +++ b/js/services.js @@ -84,7 +84,7 @@ angular.module('kibana.services', []) }) .service('kbnIndex',function($http) { - // returns a promise containing an array of all indices matching the index + // returns a promise containing an array of all indices matching the index // pattern that exist in a given range this.indices = function(from,to,pattern,interval) { var possible = [];