you have two ")" at the end.. also 2 StateFile...review your config
On 21/07/17 15:06, Luv via rsyslog wrote:
This is the way I am reading logs from file, input(type="imfile" File="/var/log/nginx/infotrack_access.log.5.gz" StateFile="/var/spool/rsyslog/statefile1" ruleset="nginxoldruleset" Tag="nginx" StateFile="/var/spool/rsyslog/statefile1" Severity="info" Facility="local7") ) But I am getting these errors, Jul 21 18:30:58 AlphaServer rsyslogd: error during parsing file /etc/rsyslog.d/11-alpha-elastic-old-logs.conf, on or before line 12: parameter 'ruleset' not known -- typo in config file? [v8.27.0 try http://www.rsyslog.com/e/2207 ] Jul 21 18:30:58 AlphaServer rsyslogd: error during parsing file /etc/rsyslog.d/11-alpha-elastic-old-logs.conf, on or before line 12: parameter 'Facility' not known -- typo in config file? [v8.27.0 try http://www.rsyslog.com/e/2207 ] Jul 21 18:30:58 AlphaServer rsyslogd: error during parsing file /etc/rsyslog.d/11-alpha-elastic-old-logs.conf, on or before line 12: parameter 'Severity' not known -- typo in config file? [v8.27.0 try http://www.rsyslog.com/e/2207 ] Jul 21 18:30:58 AlphaServer rsyslogd: error during parsing file /etc/rsyslog.d/11-alpha-elastic-old-logs.conf, on or before line 12: parameter 'StateFile' not known -- typo in config file? [v8.27.0 try http://www.rsyslog.com/e/2207 ] Jul 21 18:30:58 AlphaServer rsyslogd: error during parsing file /etc/rsyslog.d/11-alpha-elastic-old-logs.conf, on or before line 12: parameter 'Tag' not known -- typo in config file? [v8.27.0 try http://www.rsyslog.com/e/2207 ] Jul 21 18:30:58 AlphaServer rsyslogd: error during parsing file /etc/rsyslog.d/11-alpha-elastic-old-logs.conf, on or before line 12: parameter 'File' not known -- typo in config file? [v8.27.0 try http://www.rsyslog.com/e/2207 ] It is saying that none of these parameters are known. Why so ? Here are the 2 links I read, http://www.rsyslog.com/doc/v8-stable/configuration/modules/imfile.html http://www.rsyslog.com/using-the-text-file-input-module/ -- View this message in context: http://rsyslog-users.1305293.n2.nabble.com/Imfile-module-parameters-not-known-tp7592623.html Sent from the rsyslog-users mailing list archive at Nabble.com. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.
_______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.