Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

fluentd: how to use configuration overlays #354

Open
berendt opened this issue Apr 8, 2022 · 0 comments
Open

fluentd: how to use configuration overlays #354

berendt opened this issue Apr 8, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request SCS Sovereign Cloud Stack

Comments

@berendt
Copy link
Member

berendt commented Apr 8, 2022

Document how to use configuration overlays to set custom inputs, outputs, filters, ...

Use as a concrete example the configuration of an additional output to an external log aggregator.

Related to SovereignCloudStack/issues#19

- name: Find custom fluentd input config files
  find:
    path: "{{ node_custom_config }}/fluentd/input"
    pattern: "*.conf"
  run_once: True
  register: find_custom_fluentd_inputs
  delegate_to: localhost
  when: common_services.fluentd.enabled | bool

- name: Find custom fluentd filter config files
  find:
    path: "{{ node_custom_config }}/fluentd/filter"
    pattern: "*.conf"
  run_once: True
  register: find_custom_fluentd_filters
  delegate_to: localhost
  when: common_services.fluentd.enabled | bool

- name: Find custom fluentd format config files
  find:
    path: "{{ node_custom_config }}/fluentd/format"
    pattern: "*.conf"
  run_once: True
  register: find_custom_fluentd_formats
  delegate_to: localhost
  when: common_services.fluentd.enabled | bool

- name: Find custom fluentd output config files
  find:
    path: "{{ node_custom_config }}/fluentd/output"
    pattern: "*.conf"
  run_once: True
  register: find_custom_fluentd_outputs
  delegate_to: localhost
  when: common_services.fluentd.enabled | bool
@berendt berendt added enhancement New feature or request documentation Improvements or additions to documentation SCS Sovereign Cloud Stack labels Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation enhancement New feature or request SCS Sovereign Cloud Stack
Projects
None yet
Development

No branches or pull requests

1 participant