Quantcast
Channel: How to forward specific log file outside of /var/log with rsyslog to remote server? - Server Fault
Browsing latest articles
Browse All 3 View Live

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 Article



Answer 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 Article

How 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
Browsing latest articles
Browse All 3 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>