ansible-vector-role/defaults/main.yml

24 lines
584 B
YAML
Raw Normal View History

2022-03-06 22:17:18 +01:00
vector_template: vector.yml.j2
vector_config_file: /etc/vector/vector.yml
2022-01-15 18:25:03 +01:00
vector_nightly: no
vector_version: "{{ vector_nightly | ternary('nightly','latest') }}"
add_vector_docker_group: no # Add vector user to "docker" group
add_vector_journal_group: no # Add vector user to "systemd-journal" group
sources:
journald:
type: journald
current_boot_only: true
transforms:
grok:
type: grok_parser
inputs:
- journald
pattern: '(?<capture>\\d+)%{GREEDYDATA}'
sinks:
vector:
type: vector
inputs: ["journald"]
address: "vector.example.com:9000"