Updated inspector template
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</style>
|
||||
|
||||
<span ng-show="panel.spyable" style="position:absolute;right:0px;top:0px" class='panelextra pointer'>
|
||||
<i bs-modal="'partials/modal.html'" class="icon-eye-open"></i>
|
||||
<i bs-modal="'partials/inspector.html'" class="icon-eye-open"></i>
|
||||
</span>
|
||||
|
||||
<div class="row-fluid">
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user