wazuh-kibana-app/public/templates/settings/settings-pattern.html

32 lines
1.5 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">
<react-component name="EuiIcon" props="{type:'logstashFilter'}" /> Index pattern
</span>
<span class="md-subheader">Choose an 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>