diff --git a/config.js b/config.js
index 6f2508fcd85..b3a361b37e0 100644
--- a/config.js
+++ b/config.js
@@ -13,7 +13,7 @@ If you need to configure the default dashboard, please see dashboard.js
*/
var config = new Settings(
{
- elasticsearch: 'http://localhost:9200',
+ elasticsearch: 'http://localhost:9201',
timeformat: 'mm/dd HH:MM:ss',
modules: ['histogram','map','pie','table','stringquery','sort',
'timepicker','text','fields','hits','dashcontrol'],
diff --git a/panels/pie/editor.html b/panels/pie/editor.html
index 1ba39d7bc24..0b7f182d5c8 100644
--- a/panels/pie/editor.html
+++ b/panels/pie/editor.html
@@ -97,6 +97,6 @@
-
+
\ No newline at end of file
diff --git a/panels/pie/module.js b/panels/pie/module.js
index 89fe4cc52ae..7d634eee439 100644
--- a/panels/pie/module.js
+++ b/panels/pie/module.js
@@ -54,6 +54,21 @@ angular.module('kibana.pie', [])
$scope.get_data();
}
+ $scope.set_mode = function(mode) {
+ switch(mode)
+ {
+ case 'terms':
+ $scope.panel.query = {query:"*",field:"_all"};
+ break;
+ case 'query':
+ $scope.panel.query = [{query:"*",label:"*"}];
+ break;
+ case 'goal':
+ $scope.panel.query = {query:"*",goal:100};
+ break;
+ }
+ }
+
$scope.get_data = function() {
// Make sure we have everything for the request to complete
if(_.isUndefined($scope.panel.index) || _.isUndefined($scope.time))
diff --git a/panels/stringquery/editor.html b/panels/stringquery/editor.html
index cd49fe50794..847e50112a5 100644
--- a/panels/stringquery/editor.html
+++ b/panels/stringquery/editor.html
@@ -6,4 +6,10 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/panels/table/editor.html b/panels/table/editor.html
index dc70b3fba5f..c78c3de9e8a 100644
--- a/panels/table/editor.html
+++ b/panels/table/editor.html
@@ -21,9 +21,10 @@