Top 10 Agent alerts

This commit is contained in:
JuanCarlos 2019-03-08 15:31:32 +01:00
parent 8339cf8bd3
commit 5f17086564
2 changed files with 20 additions and 16 deletions

View File

@ -26,13 +26,13 @@
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[0]}">
<md-card-content class="wazuh-column">
<div layout="row" ng-dblclick="octrl.expand(0)">
<span class="wz-headline-title">Rule group evolution</span>
<span class="wz-headline-title">Top 10 Agent alerts</span>
<span flex></span>
<span class="wz-text-link" ng-click="octrl.expand(0)"><i class="fa fa-fw fa-expand"></i></span>
</div>
<md-divider class="wz-margin-top-10"></md-divider>
<kbn-vis id="Wazuh-App-Overview-General-Rule-group-evolution"
vis-id="'Wazuh-App-Overview-General-Rule-group-evolution'"></kbn-vis>
<kbn-vis id="Wazuh-App-Overview-General-Top-10-agent-alert"
vis-id="'Wazuh-App-Overview-General-Top-10-agent-alert'"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[1]}">
@ -131,18 +131,6 @@
vis-id="'Wazuh-App-Overview-General-Commonly-fired-rules'"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="40" class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[6]}">
<md-card-content class="wazuh-column">
<div layout="row" ng-dblclick="octrl.expand(6)">
<span class="wz-headline-title">Alerts evolution - Top 5 agents</span>
<span flex></span>
<span class="wz-text-link" ng-click="octrl.expand(6)"><i class="fa fa-fw fa-expand"></i></span>
</div>
<md-divider class="wz-margin-top-10"></md-divider>
<kbn-vis id="Wazuh-App-Overview-General-Alerts-evolution-Top-5-agents"
vis-id="'Wazuh-App-Overview-General-Alerts-evolution-Top-5-agents'"></kbn-vis>
</md-card-content>
</md-card>
</div>
</md-content>

View File

@ -204,6 +204,22 @@ export default [
},
_type: 'visualization'
},
{
_id: 'Wazuh-App-Overview-General-Top-10-agent-alert',
_source: {
title: 'Top 10 Agent alerts',
visState:
'{"title":"Top 10 Agent alerts","type":"metrics","params":{"id":"61ca57f0-469d-11e7-af02-69e470af7417","type":"timeseries","series":[{"id":"0eba6ef0-41a1-11e9-b2ca-a3f8ee4d0e71","color":"rgba(0,156,224,1)","split_mode":"terms","metrics":[{"id":"0eba6ef1-41a1-11e9-b2ca-a3f8ee4d0e71","type":"count"}],"separate_axis":0,"axis_position":"right","formatter":"number","chart_type":"line","line_width":1,"point_size":1,"fill":0.5,"stacked":"none","terms_field":"agent.name","terms_size":"10"}],"time_field":"@timestamp","index_pattern":"wazuh-alerts","interval":"auto","axis_position":"left","axis_formatter":"number","axis_scale":"normal","show_legend":1,"show_grid":1,"legend_position":"left"},"aggs":[]}',
uiStateJSON: '{}',
description: '',
version: 1,
kibanaSavedObjectMeta: {
searchSourceJSON:
'{"index":"wazuh-alerts","filter":[],"query":{"query":"","language":"lucene"}}'
}
},
_type: 'visualization'
},
{
_id: 'Wazuh-App-Overview-General-Alert-level-evolution',
_source: {