diff --git a/app/components/config/config.json b/app/components/config/config.json
index af5ae26..9df662e 100644
--- a/app/components/config/config.json
+++ b/app/components/config/config.json
@@ -275,14 +275,16 @@
"Output",
"Host name",
"Service",
- "Time"
+ "Time",
+ "Complete data"
],
"name": [
"status_event_event_type",
"status_event_output",
"status_event_host_name",
"status_event_service",
- "status_event_time"
+ "status_event_time",
+ "status_event"
]
},
"inputSource": {
diff --git a/app/components/table/cell_status_event/cell_status_event.html b/app/components/table/cell_status_event/cell_status_event.html
new file mode 100644
index 0000000..0342446
--- /dev/null
+++ b/app/components/table/cell_status_event/cell_status_event.html
@@ -0,0 +1,9 @@
+
+
+
+
+ {{k}}: {{e}}
+
+
+
+ |
diff --git a/app/components/table/cell_status_event/cell_status_event.js b/app/components/table/cell_status_event/cell_status_event.js
new file mode 100644
index 0000000..b734063
--- /dev/null
+++ b/app/components/table/cell_status_event/cell_status_event.js
@@ -0,0 +1,40 @@
+'use strict';
+
+angular.module('bansho.table.cell_status_event', ['bansho.table'])
+
+ .controller('CellStatusEventCtrl', ['$scope', function ($scope) {
+ $scope.isExpanded = false;
+ $scope.toggleExpansion = function () {
+ $scope.isExpanded = !$scope.isExpanded;
+ };
+
+ var shownOutput = {
+ 'attempts': true,
+ 'contact': true,
+ 'notification_method': true,
+ 'notification_type': true,
+ 'state': true,
+ 'state_type': true
+ };
+
+ $scope.filter = function (entry) {
+ var result = {};
+ angular.forEach(entry, function(value, key) {
+ if (shownOutput[key]) {
+ result[key] = value;
+ }
+ });
+ return result;
+ };
+ }])
+
+ .run(['tableGlobalConfig', function (tableGlobalConfig) {
+ tableGlobalConfig.cellToFieldsMap.status_output = [
+ 'attempts',
+ 'contact',
+ 'notification_method',
+ 'notification_type',
+ 'state',
+ 'state_type'
+ ];
+ }]);
diff --git a/app/components/table/table.js b/app/components/table/table.js
index e350acd..1e458b2 100644
--- a/app/components/table/table.js
+++ b/app/components/table/table.js
@@ -5,6 +5,7 @@ angular.module('bansho.table', ['bansho.surveil',
'bansho.table.actionbar',
'bansho.filters',
'bansho.table.cell_status_host',
+ 'bansho.table.cell_status_event',
'bansho.table.cell_status_event_event_type',
'bansho.table.cell_status_event_output',
'bansho.table.cell_status_event_host_name',
diff --git a/app/index.html b/app/index.html
index 22bcf1b..ccd57f8 100644
--- a/app/index.html
+++ b/app/index.html
@@ -70,6 +70,7 @@
+