↧
Answer by jozwikjp for How to forward specific log file outside of /var/log...
On ubuntu, I had to also comment out the drop privileges lines in order to get the rsyslog to actually read the log file outside of /var/logs.#/etc/rsyslog.conf$ModLoad imfile$InputFileName...
View ArticleAnswer by Bryan York for How to forward specific log file outside of /var/log...
Just setup an imfile rule in your /etc/rsyslog.conf#/etc/rsyslog.conf$ModLoad imfile$InputFileName /data/mysql/error.log$InputFileTag mysql-error$InputFileStateFile stat-mysql-error$InputFileSeverity...
View ArticleHow to forward specific log file outside of /var/log with rsyslog to remote...
How can I forward message from a specific log file like /www/myapp/log/test.log with rsyslog client to remote rsyslog server? This log file is outside of the directory /var/log.
View Article