diff --git a/panels/table/micropanel.html b/panels/table/micropanel.html index b4a000a6c5b54..18b572fe44d01 100644 --- a/panels/table/micropanel.html +++ b/panels/table/micropanel.html @@ -1,6 +1,6 @@ ×

- Micro Analysis of {{micropanel.field}} + Micro Analysis of {{micropanel.field}}
{{micropanel.count}} events in the table set @@ -13,7 +13,7 @@

- {{{true: "__blank__",false:field[0]}[field[0] == ""]|tableTruncate:panel.trimFactor:3}} + {{{true: "__blank__", false:field[0] }[field[0] == '' || field[0] == undefined]|tableTruncate:panel.trimFactor:3}} diff --git a/panels/table/module.js b/panels/table/module.js index 631248cd049f9..52c7367548e62 100644 --- a/panels/table/module.js +++ b/panels/table/module.js @@ -127,6 +127,9 @@ angular.module('kibana.table', []) // This needs to be abstracted somewhere if(_.isArray(value)) { query = "(" + _.map(value,function(v){return angular.toJson(v);}).join(" AND ") + ")"; + } else if (_.isUndefined(value)) { + query = '*'; + negate = !negate; } else { query = angular.toJson(value); }