Last active
August 29, 2015 14:13
-
-
Save holybit/044aa24005cf584f199d to your computer and use it in GitHub Desktop.
rsyslog filter/template problem rules work OK under 7.x but not 8.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /sbin/rsyslogd -N1 | |
rsyslogd: error during parsing file /etc/rsyslog.d/central.conf, on or before line 105: invalid character '�' in expression - is there an invalid escape sequence somewhere? [try http://www.rsyslog.com/e/2207 ] | |
rsyslogd: error during parsing file /etc/rsyslog.d/central.conf, on or before line 105: invalid character '�' in expression - is there an invalid escape sequence somewhere? [try http://www.rsyslog.com/e/2207 ] | |
rsyslogd: error during parsing file /etc/rsyslog.d/central.conf, on or before line 105: invalid character '�' in expression - is there an invalid escape sequence somewhere? [try http://www.rsyslog.com/e/2207 ] | |
rsyslogd: error during parsing file /etc/rsyslog.d/central.conf, on or before line 105: syntax error on token '-' [try http://www.rsyslog.com/e/2207 ] | |
rsyslogd: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2207 ] | |
rsyslogd: run failed with error -2207 (see rsyslog.h or try http://www.rsyslog.com/e/2207 to learn what that number means) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$template WebLogFile, "/data/syslog/index/application/%app-name%" | |
if $syslogfacility-text == 'local4' and $app-name startswith ‘php-access_log-' then -?WebLogFile | |
& stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment