-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config-Option to deactivate rsyslog if syslogng are used #8046
Comments
Duplicated issue : #8027 |
Hey @ps20renar @guymguym |
Hallo @romayalon, |
Is your feature request related to a problem? Please describe.
Currently the health check script monitor rsyslog and syslobng if we use the sub option --check_syslog_ng. In our linux platform we had rsyslog masked and use only syslogng for this logging request
(checked Version are 5.15.3)
Describe the solution you'd like
generate a config.json option to use syslogng as the only one logging framework. Like ENABLE_SYSLOG_NG: "True"
this should the effect that rsyslog should no more checked. In the health.js script. It will be also great if this issue generate an example (opt/syslog-ng/etc/conf.d/nsfs.conf that defined the filter what should filtered in a separat log-file. (/var/log/nsfs.log)
Describe alternatives you've considered
Description of alternative solutions or features you've considered.
Additional context
An example of these logconf-file can be:
NSFS syslog-ng settings
template nsfs_t {
template("$R_ISODATE $HOST $MSGHDR $MSG\n");
};
filter f_nsfs { match('node[ID0-9][0-9]*[EWID]') and level(info..emerg); };
destination d_nsfs { file("/var/log/nsfs.log" template(nsfs_t) frac-digits(6) ts_format(iso)); };
log { source(s_sys); filter(f_nsfs); destination(d_nsfs); };
As an example it should be verified.
The text was updated successfully, but these errors were encountered: