openstack-ansible-ops/elk_metrics_6x/site-beats-core.yml
Kevin Carter 218944a4e5
Add playbook to automatically refresh fields in kibana
When upgrading or updating a template fields within kibana will not be
updated until they're manually refreshed. This change uses the kibana
API to gather field information from the indexes and update kibana
automatically.

Change-Id: Ia5de566521d79da070f4377d1d7cb4d9786447b4
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-09-20 10:27:19 -05:00

38 lines
1.1 KiB
YAML

---
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- import_playbook: installMetricbeat.yml
- import_playbook: fieldRefresh.yml
vars:
index_pattern: metricbeat-*
- import_playbook: installPacketbeat.yml
- import_playbook: fieldRefresh.yml
vars:
index_pattern: packetbeat-*
- import_playbook: installAuditbeat.yml
- import_playbook: fieldRefresh.yml
vars:
index_pattern: auditbeat-*
- import_playbook: installHeartbeat.yml
- import_playbook: fieldRefresh.yml
vars:
index_pattern: heartbeat-*
- import_playbook: installFilebeat.yml
- import_playbook: fieldRefresh.yml
vars:
index_pattern: filebeat-*