mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
46 lines
779 B
Text
46 lines
779 B
Text
source s_file {
|
|
file("/var/log/messages" program_override("`ENV_VAR_SYSLOG_NG_DUT_SERIAL_NUMBER`"));
|
|
};
|
|
|
|
source ubus_calls {
|
|
pipe("/tmp/ubus-calls-pipe"
|
|
flags(no-parse)
|
|
);
|
|
|
|
};
|
|
|
|
destination d_tls_syslog {
|
|
syslog(
|
|
"analytics.iopsys.eu"
|
|
transport("tls")
|
|
port(6514)
|
|
tls(
|
|
key-file("/etc/analytics-cert/clientkey.pem")
|
|
cert-file("/etc/analytics-cert/clientcert.pem")
|
|
peer-verify(no)
|
|
)
|
|
);
|
|
};
|
|
|
|
destination d_tls_ubus {
|
|
syslog(
|
|
"analytics.iopsys.eu"
|
|
transport("tls")
|
|
port(6515)
|
|
tls(
|
|
key-file("/etc/analytics-cert/clientkey.pem")
|
|
cert-file("/etc/analytics-cert/clientcert.pem")
|
|
peer-verify(no)
|
|
)
|
|
);
|
|
};
|
|
|
|
log {
|
|
source(s_file);
|
|
destination(d_tls_syslog);
|
|
};
|
|
|
|
log {
|
|
source(ubus_calls);
|
|
destination(d_tls_ubus);
|
|
};
|