wazuh-kibana-app/public/templates/settings/settings-pattern.html
2018-11-05 11:18:36 +01:00

28 lines
1.4 KiB
HTML

<div layout="column" layout-align="start stretch" ng-if="ctrl.tab === 'pattern' && !ctrl.load">
<!-- Headline -->
<div layout="column" layout-padding>
<span class="font-size-18"><i class="fa fa-fw fa-filter" aria-hidden="true"></i> Index pattern</span>
<span class="md-subheader">Choose and index pattern, so Wazuh can use it to retrieve data from indices for queries and visualizations.</span>
</div>
<!-- End headline -->
<!-- Pattern selector section -->
<div layout="row" layout-align="start start">
<md-card flex class="wz-md-card">
<md-card-content>
<div layout="row">
<p class="md-body-1"><strong>Note:</strong> The chosen index pattern must use the template for Wazuh alerts, otherwise, you won't be able to select it.</p>
</div>
<div flex="25" layout="column" class="wz-select-input wz-margin-top-10">
<select class="kuiSelect wz-border-none cursor-pointer" ng-model="ctrl.selectedIndexPattern" ng-change="ctrl.changeIndexPattern(ctrl.selectedIndexPattern)" aria-label="Select index pattern">
<option ng-repeat="indexPattern in ctrl.indexPatterns | orderObjectBy:'title'" value="{{indexPattern.id}}">{{indexPattern.title}}</option>
</select>
</div>
</md-card-content>
</md-card>
</div>
<!-- End pattern selector section -->
</div>