81eb58f1e8
Processors for each of the beats are currently defined per template and can be configured directly via template or once deployed. This change allows processors for all or a subset of beats to be configured through role data or via an overlay inventory. Change-Id: I71fc96611082555b43fd0f505219c42c890464ef
31 lines
1.4 KiB
YAML
31 lines
1.4 KiB
YAML
---
|
|
# Copyright 2018, Vexxhost, Inc.
|
|
#
|
|
# 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.
|
|
|
|
journalbeat_service_state: restarted
|
|
|
|
journalbeat_ilm_policy_name: "journalbeat-{{ beat_version }}"
|
|
journalbeat_ilm_policy_template: "journalbeat-{{ beat_version }}"
|
|
journalbeat_ilm_policy_filename: "journalbeat-ilm-policy.json"
|
|
journalbeat_ilm_policy_file_location: "/etc/journalbeat"
|
|
|
|
ilm_policy_name: "{{ journalbeat_ilm_policy_name | default('') }}"
|
|
ilm_policy: "{{ (journalbeat_ilm_policy | default(default_ilm_policy)) | default({}) }}"
|
|
ilm_policy_template: "{{ journalbeat_ilm_policy_template | default('') }}"
|
|
ilm_policy_filename: "{{ (journalbeat_ilm_policy_filename | default(default_ilm_policy_filename)) | default('') }}"
|
|
ilm_policy_file_location: "{{ (journalbeat_ilm_policy_file_location | default(default_ilm_policy_file_location)) | default('') }}"
|
|
|
|
# beat processors. Empty dictionary sets `add_host_metadata: ~`
|
|
processors: {}
|