23 lines
521 B
Plaintext
23 lines
521 B
Plaintext
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);
|
|
};
|