mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 09:55:18 +00:00
Fix Agents preview searchfilter. Updated mapping/templates. Background color at preview
This commit is contained in:
parent
9c457a1658
commit
998b11635f
@ -194,6 +194,7 @@ app.controller('agentsController', function ($scope, $q, DataFactory, $mdToast,
|
||||
if(angular.isUndefined($location.search().tab) && angular.isUndefined($location.search().id)){
|
||||
$scope.submenuNavItem = "preview";
|
||||
delete $scope._agent;
|
||||
$scope.search = "";
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -47,7 +47,17 @@
|
||||
</md-card>
|
||||
|
||||
</div>
|
||||
<div layout="row" layout-align="start stretch" flex style="margin-bottom: 7px">
|
||||
<div layout="row" layout-align="start stretch" flex>
|
||||
<md-card flex layout="column" style="margin: 8px 0 0 0">
|
||||
<md-card-content style="text-align: center;">
|
||||
<kbn-searchbar style="display: none"></kbn-searchbar>
|
||||
<kbn-vis vis-timefilter="24h" vis-height="154px" vis-index-pattern="wazuh-alerts-*" vis-a="(filters:!(),linked:!f,query:(query_string:(analyze_wildcard:!t,query:'*')),uiState:(),vis:(aggs:!((enabled:!t,id:'1',params:(customLabel:Alerts),schema:metric,type:count),(enabled:!t,id:'3',params:(field:agent.name,order:desc,orderBy:'1',size:5),schema:group,type:terms),(enabled:!t,id:'2',params:(customInterval:'2h',extended_bounds:(),field:'@timestamp',interval:auto,min_doc_count:1),schema:segment,type:date_histogram)),listeners:(),params:(addLegend:!t,addTimeMarker:!f,addTooltip:!t,defaultYExtents:!f,interpolate:cardinal,legendPosition:right,mode:overlap,scale:linear,setYExtents:!f,times:!()),title:'New%20Visualization',type:area))"
|
||||
vis-filter="*">
|
||||
</kbn-vis>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
<div layout="row" layout-align="start stretch" flex>
|
||||
|
||||
<div layout="row" class="sideNavBox" flex="80">
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>
|
||||
|
||||
<div flex layout="row" style="height: 100%;">
|
||||
<div flex layout="row" style="height: 100%; {{(tabView != 'discover') ? 'background-color: #e4e4e4' : ''}}" >
|
||||
<md-content flex id="content" style="height: 100%;">
|
||||
<md-content layout="row" layout-align="space-between start" style="background-color: #f7f7f7">
|
||||
<md-toolbar style="height: 50px;">
|
||||
|
File diff suppressed because one or more lines are too long
@ -263,7 +263,8 @@
|
||||
"doc_values": "true"
|
||||
},
|
||||
"id": {
|
||||
"type": "long",
|
||||
"type": "string",
|
||||
"index": "not_analyzed",
|
||||
"doc_values": "true"
|
||||
},
|
||||
"cve": {
|
||||
|
Loading…
Reference in New Issue
Block a user