Yet another compatibility fix

This commit is contained in:
malbarral 2017-07-10 22:05:48 +02:00
parent 6846b69a69
commit 8c38354cf8
3 changed files with 14 additions and 14 deletions

View File

@ -12,7 +12,7 @@ require('ui/tooltip/tooltip.js');
import 'plugins/kibana/discover/components/field_chooser'; import 'plugins/kibana/discover/components/field_chooser';
import _ from 'lodash'; import _ from 'lodash';
import moment from 'moment'; import moment from 'moment';
import getSort from 'ui/doc_table/lib/get_sort'; import { getSort } from 'ui/doc_table/lib/get_sort';
import rison from 'rison-node'; import rison from 'rison-node';
import dateMath from '@elastic/datemath'; import dateMath from '@elastic/datemath';
import 'ui/doc_table'; import 'ui/doc_table';
@ -29,18 +29,18 @@ import 'ui/pager_control';
import 'ui/pager'; import 'ui/pager';
import 'ui/highlight/highlight_tags'; import 'ui/highlight/highlight_tags';
import 'ui/share'; import 'ui/share';
import VisProvider from 'ui/vis'; import { VisProvider } from 'ui/vis';
import DocTitleProvider from 'ui/doc_title'; import { DocTitleProvider } from 'ui/doc_title';
import UtilsBrushEventProvider from 'ui/utils/brush_event'; import { UtilsBrushEventProvider } from 'ui/utils/brush_event';
import PluginsKibanaDiscoverHitSortFnProvider from 'plugins/kibana/discover/_hit_sort_fn'; import PluginsKibanaDiscoverHitSortFnProvider from 'plugins/kibana/discover/_hit_sort_fn';
import FilterBarQueryFilterProvider from 'ui/filter_bar/query_filter'; import { FilterBarQueryFilterProvider } from 'ui/filter_bar/query_filter';
import FilterManagerProvider from 'ui/filter_manager'; import { FilterManagerProvider } from 'ui/filter_manager';
import AggTypesBucketsIntervalOptionsProvider from 'ui/agg_types/buckets/_interval_options'; import { AggTypesBucketsIntervalOptionsProvider } from 'ui/agg_types/buckets/_interval_options';
import uiRoutes from 'ui/routes'; import { uiRoutes } from 'ui/routes';
import uiModules from 'ui/modules'; import { uiModules } from 'ui/modules';
import indexTemplate from 'plugins/wazuh/templates/directives/dis-template.html'; import { indexTemplate } from 'plugins/wazuh/templates/directives/dis-template.html';
import StateProvider from 'ui/state_management/state'; import { StateProvider } from 'ui/state_management/state';
import stateMonitorFactory from 'ui/state_management/state_monitor_factory'; import { stateMonitorFactory } from 'ui/state_management/state_monitor_factory';
import * as columnActions from 'ui/doc_table/actions/columns'; import * as columnActions from 'ui/doc_table/actions/columns';
import 'ui/debounce'; import 'ui/debounce';
import 'plugins/kibana/discover/saved_searches/saved_searches'; import 'plugins/kibana/discover/saved_searches/saved_searches';

View File

@ -23,7 +23,7 @@
<div flex ng-if="tabView == 'panels' && results" layout="column"> <div flex ng-if="tabView == 'panels' && results" layout="column">
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear> <md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>
<md-content layout="row" layout-align="center stretch"> <md-content layout="row" layout-align="center stretch" class="no-legend">
<md-card flex="10" layout="column"> <md-card flex="10" layout="column">
<md-card-content style="text-align: center;"> <md-card-content style="text-align: center;">
<kbn-vis vis-height="80px" 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:'New files'),schema:metric,type:count)),listeners:(),params:(fontSize:20,handleNoResults:!t),title:'New%20Visualization',type:metric))" vis-filter="rule.groups: audit AND rule.id: 80790 AND agent.name: {{_agent.name ? _agent.name : '*'}}"></kbn-vis> <kbn-vis vis-height="80px" 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:'New files'),schema:metric,type:count)),listeners:(),params:(fontSize:20,handleNoResults:!t),title:'New%20Visualization',type:metric))" vis-filter="rule.groups: audit AND rule.id: 80790 AND agent.name: {{_agent.name ? _agent.name : '*'}}"></kbn-vis>

View File

@ -23,7 +23,7 @@
<!-- View: Panels --> <!-- View: Panels -->
<div ng-if="tabView == 'panels' && results"> <div ng-if="tabView == 'panels' && results">
<md-content layout="row" layout-align="center stretch"> <md-content layout="row" layout-align="center stretch" class="no-legend">
<md-card flex="10" layout="column"> <md-card flex="10" layout="column">
<md-card-content style="text-align: center;"> <md-card-content style="text-align: center;">
<kbn-vis vis-height="80px" 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:'New files'),schema:metric,type:count)),listeners:(),params:(fontSize:20,handleNoResults:!t),title:'New%20Visualization',type:metric))" vis-filter="rule.groups: audit AND rule.id: 80790"></kbn-vis> <kbn-vis vis-height="80px" 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:'New files'),schema:metric,type:count)),listeners:(),params:(fontSize:20,handleNoResults:!t),title:'New%20Visualization',type:metric))" vis-filter="rule.groups: audit AND rule.id: 80790"></kbn-vis>