Skip to content
Snippets Groups Projects
Commit 958cd207 authored by jurgenhaas's avatar jurgenhaas
Browse files

Implement option to output to mail on the client rather than forwarding that to the server

parent 0ea9404c
No related branches found
No related tags found
No related merge requests found
......@@ -192,6 +192,19 @@
pattern \/server-status\?auto
</exclude>
</filter>
{% if fluentd_mail_output is defined %}
<match mail>
@type mail
host {{ fluentd_mail_output.host }}
port {{ fluentd_mail_output.port }}
from {{ fluentd_mail_output.from }}
to {{ fluentd_mail_output.to }}
subject {{ fluentd_mail_output.subject }}
subject_out_keys {{ fluentd_mail_output.subject_out_keys }}
out_keys {{ fluentd_mail_output.out_keys }}
</match>
{% endif %}
{% if 'logserver' in groups and inventory_hostname in groups.logserver %}
<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