WIP
This commit is contained in:
22
roles/ovh_ldp/templates/ldp-ovh.conf
Normal file
22
roles/ovh_ldp/templates/ldp-ovh.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
rewrite ovh-token {
|
||||
set("{{ ovh_ldp_token }}", value(".SDATA.token@29084.X-OVH-TOKEN"));
|
||||
};
|
||||
|
||||
destination ovhPaaSLogs {
|
||||
network("{{ ovh_ldp_cluster }}"
|
||||
port({{ ovh_ldp_tls_syslog_port }})
|
||||
transport("tls")
|
||||
flags(syslog-protocol)
|
||||
ts_format("iso")
|
||||
frac-digits(6)
|
||||
tls(peer-verify("required-trusted") ca_dir("/etc/ssl/certs/"))
|
||||
keep-alive(yes)
|
||||
so_keepalive(yes)
|
||||
);
|
||||
};
|
||||
|
||||
log {
|
||||
source(s_src);
|
||||
rewrite(ovh-token);
|
||||
destination(ovhPaaSLogs);
|
||||
};
|
||||
Reference in New Issue
Block a user