diff --git a/config.js b/config.js index 0645ec4f640..a009e8a5a2f 100644 --- a/config.js +++ b/config.js @@ -15,7 +15,7 @@ If you need to configure the default dashboard, please see default.json */ var config = new Settings( { - elasticsearch: 'http://demo.kibana.org', + elasticsearch: 'http://localhost:9200', kibana_index: "kibana-int", timeformat: 'mm/dd HH:MM:ss', modules: ['histogram','map','pie','table','stringquery','sort', diff --git a/panels/histogram/editor.html b/panels/histogram/editor.html index 4a25c61a474..bf57461420b 100644 --- a/panels/histogram/editor.html +++ b/panels/histogram/editor.html @@ -44,4 +44,15 @@ - \ No newline at end of file + +
"+ + 'curl -XGET '+config.elasticsearch+'/'+$scope.panel.index+"/_search?pretty -d'\n"+ + angular.toJson(JSON.parse(request.toString()),true)+ + "'", + } + } + function set_time(time) { $scope.time = time; $scope.panel.index = _.isUndefined(time.index) ? $scope.panel.index : time.index diff --git a/panels/map/editor.html b/panels/map/editor.html index 31d28888db9..62051528119 100644 --- a/panels/map/editor.html +++ b/panels/map/editor.html @@ -22,3 +22,14 @@ +
"+ + 'curl -XGET '+config.elasticsearch+'/'+$scope.panel.index+"/_search?pretty -d'\n"+ + angular.toJson(JSON.parse(request.toString()),true)+ + "'", + } + } + function set_time(time) { $scope.time = time; $scope.panel.index = _.isUndefined(time.index) ? $scope.panel.index : time.index diff --git a/panels/pie/editor.html b/panels/pie/editor.html index 6db55109d39..7b11c6994d1 100644 --- a/panels/pie/editor.html +++ b/panels/pie/editor.html @@ -99,4 +99,15 @@ + +
"+
'curl -XGET '+config.elasticsearch+'/'+$scope.panel.index+"/_search?pretty -d'\n"+
angular.toJson(JSON.parse(request.toString()),true)+
diff --git a/panels/table/editor.html b/panels/table/editor.html
index 4da04eb7852..ea57e2ea549 100644
--- a/panels/table/editor.html
+++ b/panels/table/editor.html
@@ -33,4 +33,17 @@
Font Size
-
\ No newline at end of file
+
+
+ Panel Spy
+
+
+
+
+
+ The panel spy shows 'behind the scenes' information about a panel. It can
+ be accessed by clicking the in the top right
+ of the panel.
+
+
+
diff --git a/panels/table/module.html b/panels/table/module.html
index ef74ceadcfd..a40e3683b90 100644
--- a/panels/table/module.html
+++ b/panels/table/module.html
@@ -1,6 +1,6 @@
-
+