wazuh-kibana-app/public/templates/overview-general.html

186 lines
8.3 KiB
HTML
Raw Normal View History

<md-content flex layout="column" ng-if="tab == 'general'" ng-controller="overviewGeneralController" class="app-container wazuh-column" layout-align="start">
2016-09-20 08:55:43 +00:00
2017-11-17 16:02:17 +00:00
<div class='uil-ring-css' ng-if="tabView == 'panels'" ng-show='!hideRing(15)'><div></div></div>
2017-11-17 16:02:17 +00:00
<!-- Kibana search bar -->
<!-- Local nav. -->
<div ng-if="hideRing(15) && !loading" ng-controller="kibanaSearchbar">
<kbn-top-nav name="overview_general" config="topNavMenu">
<!-- Transcluded elements. -->
<div data-transclude-slots>
<!-- Title. -->
2017-11-17 16:02:17 +00:00
<!-- Search. -->
<div ng-show="chrome.getVisible()" class="fullWidth" data-transclude-slot="bottomRow">
<query-bar
query="state.query"
app-name="'wazuh'"
on-submit="updateQueryAndFetch($query)"
>
</query-bar>
</div>
</div>
</kbn-top-nav>
2017-11-17 16:02:17 +00:00
<!-- Filters. -->
<filter-bar
ng-show="showFilterBar()"
state="state"
index-patterns="indexPattern"
ng-if="state.query.language === 'lucene'"
></filter-bar>
</div>
2017-11-17 16:02:17 +00:00
<!-- No results message -->
<md-content flex layout="row" layout-align="start start" ng-show="!results && !loading" ng-if="tabView == 'panels' && hideRing(15)">
<md-card flex layout="column">
2017-11-21 11:42:54 +00:00
<md-card-content class="overview-general-no-results">
2017-11-17 16:02:17 +00:00
No results for selected time interval
</md-card-content>
</md-card>
</md-content>
2017-11-17 16:02:17 +00:00
<!-- View: Discover -->
2017-11-21 11:42:54 +00:00
<md-content class="overview-general-discover" flex layout="column" layout-align="start space-around" ng-if="tabView == 'discover'">
2017-11-17 16:02:17 +00:00
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"></kbn-disfull>
</md-content>
2017-11-17 16:02:17 +00:00
<!-- View: Panels -->
<div ng-show="hideRing(15) && results && !loading" ng-if="tabView == 'panels'" class="wazuh-column">
2017-11-21 11:42:54 +00:00
<div layout="row" layout-align="center stretch" class="overview-general-metric-row">
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-General-Metric-alerts'" id="Wazuh-App-Overview-General-Metric-alerts"></kbn-vis>
2017-11-17 16:02:17 +00:00
</md-card-content>
</md-card>
2017-11-21 11:42:54 +00:00
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-General-Level-12-alerts'" id="Wazuh-App-Overview-General-Level-12-alerts"></kbn-vis>
2017-11-17 16:02:17 +00:00
</md-card-content>
</md-card>
2017-11-21 11:42:54 +00:00
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-General-Authentication-failure'" id="Wazuh-App-Overview-General-Authentication-failure"></kbn-vis>
2017-11-17 16:02:17 +00:00
</md-card-content>
</md-card>
2017-11-21 11:42:54 +00:00
<md-card flex>
<md-card-content class="wazuh-column">
<kbn-vis class="metric" vis-id="'Wazuh-App-Overview-General-Authentication-success'" id="Wazuh-App-Overview-General-Authentication-success"></kbn-vis>
2017-11-17 16:02:17 +00:00
</md-card-content>
</md-card>
</div>
2017-11-21 11:42:54 +00:00
<div layout="row" layout-align="start stretch" class="overview-general-alerts">
<md-card flex="40">
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<span class="md-headline">Alert level evolution</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Alert-level-evolution'" id="Wazuh-App-Overview-General-Alert-level-evolution"></kbn-vis>
</md-card-content>
</md-card>
2017-11-21 11:42:54 +00:00
<md-card flex="60">
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<span class="md-headline">Alerts</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Alerts'" id="Wazuh-App-Overview-General-Alerts"></kbn-vis>
</md-card-content>
</md-card>
</div>
2017-11-21 11:42:54 +00:00
<div layout="row" layout-align="space-between stretch" class="overview-general-top-agents">
<md-card flex>
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<span class="md-headline">Top 5 agents</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Top-5-agents'" id="Wazuh-App-Overview-General-Top-5-agents"></kbn-vis>
</md-card-content>
</md-card>
2017-11-21 11:42:54 +00:00
<md-card flex>
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<span class="md-headline">Alerts evolution - Top 5 agents</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Alerts-evolution-Top-5-agents'" id="Wazuh-App-Overview-General-Alerts-evolution-Top-5-agents"></kbn-vis>
</md-card-content>
</md-card>
2017-11-21 11:42:54 +00:00
<md-card flex="35">
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<span class="md-headline">Agents status</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Agents-status'" id="Wazuh-App-Overview-General-Agents-status"></kbn-vis>
</md-card-content>
</md-card>
</div>
2017-11-21 11:42:54 +00:00
<div layout="row" layout-align="center stretch" class="overview-general-metric-row">
<md-card flex>
<md-card-content class="wazuh-column overview-general-top-source">
2017-11-17 16:02:17 +00:00
<div class="ng-binding">Top source user</div>
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-General-Top-source-user'" id="Wazuh-App-Overview-General-Top-source-user"></kbn-vis>
</md-card-content>
</md-card>
2017-11-21 11:42:54 +00:00
<md-card flex>
<md-card-content class="wazuh-column overview-general-top-source">
2017-11-17 16:02:17 +00:00
<div class="ng-binding">Top source ip</div>
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-General-Top-source-IP'" id="Wazuh-App-Overview-General-Top-source-IP"></kbn-vis>
</md-card-content>
</md-card>
2017-11-21 11:42:54 +00:00
<md-card flex>
<md-card-content class="wazuh-column overview-general-top-source">
2017-11-17 16:02:17 +00:00
<div class="ng-binding">Top group</div>
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-General-Top-group'" id="Wazuh-App-Overview-General-Top-group"></kbn-vis>
</md-card-content>
</md-card>
2017-11-21 11:42:54 +00:00
<md-card flex>
<md-card-content class="wazuh-column overview-general-top-source">
2017-11-17 16:02:17 +00:00
<div class="ng-binding">Top PCI DSS requirement</div>
<kbn-vis class="kbn-vis-value" vis-id="'Wazuh-App-Overview-General-Top-PCI-DSS-requirement'" id="Wazuh-App-Overview-General-Top-PCI-DSS-requirement"></kbn-vis>
</md-card-content>
</md-card>
</div>
2017-11-21 11:42:54 +00:00
<div layout="row" layout-align="center stretch" class="overview-general-summary">
<md-card flex="60">
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<span class="md-headline">Alerts summary</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Alerts-summary'" id="Wazuh-App-Overview-General-Alerts-summary"></kbn-vis>
</md-card-content>
</md-card>
2017-11-21 11:42:54 +00:00
<md-card flex="40">
2017-11-17 16:02:17 +00:00
<md-card-content class="wazuh-column">
<span class="md-headline">Groups summary</span>
<kbn-vis vis-id="'Wazuh-App-Overview-General-Groups-summary'" id="Wazuh-App-Overview-General-Groups-summary"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div flex></div>
</div>
</md-content>
2017-11-21 11:42:54 +00:00
<style>
/**
* OVERVIEW - GENERAL
*/
.overview-general-no-results {
2017-11-21 12:07:38 +00:00
text-align: center;
2017-11-21 11:42:54 +00:00
}
.overview-general-discover {
2017-11-21 12:07:38 +00:00
background-color: white;
2017-11-21 11:42:54 +00:00
}
.overview-general-metric-row {
2017-11-21 12:07:38 +00:00
height: 100px;
2017-11-21 11:42:54 +00:00
}
.overview-general-alerts {
2017-11-21 12:07:38 +00:00
height: 230px;
2017-11-21 11:42:54 +00:00
}
.overview-general-top-agents {
2017-11-21 12:07:38 +00:00
height: 270px;
2017-11-21 11:42:54 +00:00
}
.overview-general-top-source {
2017-11-21 12:07:38 +00:00
text-align: center;
2017-11-21 11:42:54 +00:00
}
.overview-general-summary {
2017-11-21 12:07:38 +00:00
height: 530px;
2017-11-21 11:42:54 +00:00
}
</style>