mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
More overhaul for the AWS tab
This commit is contained in:
parent
c189f468d7
commit
30f0258607
@ -3,47 +3,29 @@
|
||||
<!-- View: Panels -->
|
||||
<div ng-show="resultState === 'ready' && tabView === 'panels'">
|
||||
|
||||
<div layout="row" layout-align="center stretch" class="height-120">
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-AWS-Metric-Start-instances'" id="Wazuh-App-Overview-AWS-Metric-Start-instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-AWS-Metric-Run-instances'" id="Wazuh-App-Overview-AWS-Metric-Run-instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-AWS-Metric-Reboot-instances'" id="Wazuh-App-Overview-AWS-Metric-Reboot-instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-AWS-Metric-Stop-instances'" id="Wazuh-App-Overview-AWS-Metric-Stop-instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-AWS-Metric-Terminate-instances'" id="Wazuh-App-Overview-AWS-Metric-Terminate-instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
|
||||
<div layout="row" layout-align="center stretch" class="height-120">
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column text-center">
|
||||
<div class="ng-binding">Successful logins</div>
|
||||
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-AWS-Metric-Successful-logins'" id="Wazuh-App-Overview-AWS-Metric-Successful-logins"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column text-center">
|
||||
<div class="ng-binding">Most active user</div>
|
||||
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-AWS-Most-active-user'" id="Wazuh-App-Overview-AWS-Most-active-user"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<div layout="row" layout-align="center stretch" class="height-270">
|
||||
<div flex layout="column">
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<span class="md-headline">Instances</span>
|
||||
<kbn-vis vis-id="'Wazuh-App-Overview-AWS-Instances'" id="Wazuh-App-Overview-AWS-Instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
<div flex="25" layout="column">
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column text-center">
|
||||
<div class="ng-binding">Successful logins</div>
|
||||
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-AWS-Metric-Successful-logins'" id="Wazuh-App-Overview-AWS-Metric-Successful-logins"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column text-center">
|
||||
<div class="ng-binding">Most active user</div>
|
||||
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-AWS-Most-active-user'" id="Wazuh-App-Overview-AWS-Most-active-user"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div layout="row" layout-align="center stretch" class="height-270">
|
||||
|
@ -3,47 +3,29 @@
|
||||
<!-- View: Panels -->
|
||||
<div ng-show="resultState === 'ready' && tabView === 'panels'">
|
||||
|
||||
<div layout="row" layout-align="center stretch" class="height-120">
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-AWS-Metric-Start-instances'" id="Wazuh-App-Overview-AWS-Metric-Start-instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-AWS-Metric-Run-instances'" id="Wazuh-App-Overview-AWS-Metric-Run-instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-AWS-Metric-Reboot-instances'" id="Wazuh-App-Overview-AWS-Metric-Reboot-instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-AWS-Metric-Stop-instances'" id="Wazuh-App-Overview-AWS-Metric-Stop-instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-AWS-Metric-Terminate-instances'" id="Wazuh-App-Overview-AWS-Metric-Terminate-instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
|
||||
<div layout="row" layout-align="center stretch" class="height-120">
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column text-center">
|
||||
<div class="ng-binding">Successful logins</div>
|
||||
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-AWS-Metric-Successful-logins'" id="Wazuh-App-Overview-AWS-Metric-Successful-logins"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column text-center">
|
||||
<div class="ng-binding">Most active user</div>
|
||||
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-AWS-Most-active-user'" id="Wazuh-App-Overview-AWS-Most-active-user"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<div layout="row" layout-align="center stretch" class="height-270">
|
||||
<div flex layout="column">
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column">
|
||||
<span class="md-headline">Instances</span>
|
||||
<kbn-vis vis-id="'Wazuh-App-Overview-AWS-Instances'" id="Wazuh-App-Overview-AWS-Instances"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
<div flex="25" layout="column">
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column text-center">
|
||||
<div class="ng-binding">Successful logins</div>
|
||||
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-AWS-Metric-Successful-logins'" id="Wazuh-App-Overview-AWS-Metric-Successful-logins"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex>
|
||||
<md-card-content class="wazuh-column text-center">
|
||||
<div class="ng-binding">Most active user</div>
|
||||
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-AWS-Most-active-user'" id="Wazuh-App-Overview-AWS-Most-active-user"></kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div layout="row" layout-align="center stretch" class="height-270">
|
||||
|
@ -2037,71 +2037,15 @@
|
||||
"_type": "visualization"
|
||||
},
|
||||
{
|
||||
"_id": "Wazuh-App-Overview-AWS-Metric-Start-instances",
|
||||
"_id": "Wazuh-App-Overview-AWS-Instances",
|
||||
"_source": {
|
||||
"title": "Wazuh App Overview AWS Metric Start instances",
|
||||
"visState": "{\"title\":\"Wazuh App Overview AWS Metric Start instances\",\"type\":\"metric\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":20}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Started instances\"}}]}",
|
||||
"title": "Wazuh App Overview AWS Instances",
|
||||
"visState": "{\"title\":\"Wazuh App Overview AWS Instances\",\"type\":\"histogram\",\"params\":{\"type\":\"histogram\",\"grid\":{\"categoryLines\":false,\"style\":{\"color\":\"#eee\"}},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"truncate\":100},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":100},\"title\":{\"text\":\"Count\"}}],\"seriesParams\":[{\"show\":\"true\",\"type\":\"histogram\",\"mode\":\"stacked\",\"data\":{\"label\":\"Count\",\"id\":\"1\"},\"valueAxis\":\"ValueAxis-1\",\"drawLinesBetweenPoints\":true,\"showCircles\":true}],\"addTooltip\":true,\"addLegend\":false,\"legendPosition\":\"right\",\"times\":[],\"addTimeMarker\":false},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"data.aws.eventName\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Instance state\"}}]}",
|
||||
"uiStateJSON": "{}",
|
||||
"description": "",
|
||||
"version": 1,
|
||||
"kibanaSavedObjectMeta": {
|
||||
"searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: amazon AND rule.description: *StartInstances*\",\"language\":\"lucene\"}}"
|
||||
}
|
||||
},
|
||||
"_type": "visualization"
|
||||
},
|
||||
{
|
||||
"_id": "Wazuh-App-Overview-AWS-Metric-Run-instances",
|
||||
"_source": {
|
||||
"title": "Wazuh App Overview AWS Metric Run instances",
|
||||
"visState": "{\"title\":\"Wazuh App Overview AWS Metric Run instances\",\"type\":\"metric\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":20}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Runned instances\"}}]}",
|
||||
"uiStateJSON": "{}",
|
||||
"description": "",
|
||||
"version": 1,
|
||||
"kibanaSavedObjectMeta": {
|
||||
"searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: amazon AND rule.description: *RunInstances*\",\"language\":\"lucene\"}}"
|
||||
}
|
||||
},
|
||||
"_type": "visualization"
|
||||
},
|
||||
{
|
||||
"_id": "Wazuh-App-Overview-AWS-Metric-Reboot-instances",
|
||||
"_source": {
|
||||
"title": "Wazuh App Overview AWS Metric Reboot instances",
|
||||
"visState": "{\"title\":\"Wazuh App Overview AWS Metric Reboot instances\",\"type\":\"metric\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":20}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Rebooted instances\"}}]}",
|
||||
"uiStateJSON": "{}",
|
||||
"description": "",
|
||||
"version": 1,
|
||||
"kibanaSavedObjectMeta": {
|
||||
"searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: amazon AND rule.description: *RebootInstances*\",\"language\":\"lucene\"}}"
|
||||
}
|
||||
},
|
||||
"_type": "visualization"
|
||||
},
|
||||
{
|
||||
"_id": "Wazuh-App-Overview-AWS-Metric-Stop-instances",
|
||||
"_source": {
|
||||
"title": "Wazuh App Overview AWS Metric Stop instances",
|
||||
"visState": "{\"title\":\"Wazuh App Overview AWS Metric Stop instances\",\"type\":\"metric\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":20}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Stopped instances\"}}]}",
|
||||
"uiStateJSON": "{}",
|
||||
"description": "",
|
||||
"version": 1,
|
||||
"kibanaSavedObjectMeta": {
|
||||
"searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: amazon AND rule.description: *StopInstances*\",\"language\":\"lucene\"}}"
|
||||
}
|
||||
},
|
||||
"_type": "visualization"
|
||||
},
|
||||
{
|
||||
"_id": "Wazuh-App-Overview-AWS-Metric-Terminate-instances",
|
||||
"_source": {
|
||||
"title": "Wazuh App Overview AWS Metric Terminate instances",
|
||||
"visState": "{\"title\":\"Wazuh App Overview AWS Metric Terminate instances\",\"type\":\"metric\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":20}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Terminated instances\"}}]}",
|
||||
"uiStateJSON": "{}",
|
||||
"description": "",
|
||||
"version": 1,
|
||||
"kibanaSavedObjectMeta": {
|
||||
"searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: amazon AND rule.description: *TerminateInstances*\",\"language\":\"lucene\"}}"
|
||||
"searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: amazon AND data.aws.eventName: *Instances*\",\"language\":\"lucene\"}}"
|
||||
}
|
||||
},
|
||||
"_type": "visualization"
|
||||
|
Loading…
Reference in New Issue
Block a user