Skip to content
Snippets Groups Projects
Commit 04e1446b authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Add fluent config for letsencrypt"

parents 3e0014a7 b4dd2cc7
No related branches found
No related tags found
No related merge requests found
...@@ -112,6 +112,8 @@ ...@@ -112,6 +112,8 @@
enabled: "{{ enable_prometheus_fluentd_integration | bool }}" enabled: "{{ enable_prometheus_fluentd_integration | bool }}"
- name: "conf/input/10-openvswitch.conf.j2" - name: "conf/input/10-openvswitch.conf.j2"
enabled: true enabled: true
- name: "conf/input/11-letsencrypt.conf.j2"
enabled: "{{ enable_letsencrypt | bool }}"
customised_input_files: "{{ find_custom_fluentd_inputs.files | map(attribute='path') | list }}" customised_input_files: "{{ find_custom_fluentd_inputs.files | map(attribute='path') | list }}"
# Filters # Filters
fluentd_filter_files: "{{ default_filter_files | customise_fluentd(customised_filter_files) }}" fluentd_filter_files: "{{ default_filter_files | customise_fluentd(customised_filter_files) }}"
......
<source>
@type tail
@log_level debug
path /var/log/kolla/letsencrypt/letsencrypt-lego.log
pos_file /var/run/td-agent/letsencrypt.pos
tag infra.letsencrypt.lego
enable_watch_timer false
<parse>
@type multiline
format_firstline /^\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2}/
format1 /^(?<Timestamp>\d{4}\/\d{2}\/\d{2} \d{2}:\d{2}:\d{2}) \[(?<log_level>\S+)\] (?<Payload>.*)/
time_key Timestamp
time_format %Y/%m/%d %H:%M:%S
</parse>
</source>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment