Updated inspector template

This commit is contained in:
Rashid Khan
2013-07-30 14:58:45 -07:00
parent f574374aab
commit 2e85fbecb1
19 changed files with 4808 additions and 46 deletions
+1 -7
View File
@@ -226,13 +226,7 @@ angular.module('kibana.table', [])
};
$scope.populate_modal = function(request) {
$scope.modal = {
title: "Table Inspector",
body : "<h5>Last Elasticsearch Query</h5><pre>"+
'curl -XGET '+config.elasticsearch+'/'+dashboard.indices+"/_search?pretty -d'\n"+
angular.toJson(JSON.parse(request.toString()),true)+
"'</pre>",
};
$scope.inspector = angular.toJson(JSON.parse(request.toString()),true);
};
$scope.without_kibana = function (row) {