I'm getting parsing errors when adding a ruleset to my rsyslog configuration. 
Here are all the variations I have tried.


  *   ruleset(name="rulesetname");
  *   ruleset(name="rulesetname")
  *   Ruleset(name="rulesetname")
  *   Ruleset(Name="rulesetname")
  *   ruleset(Name="rulesetname")
  *   ruleset(name="rulesetname") { }
  *   ruleset(name="rulesetname") {
}
  *   ruleset(name="rulesetname") {
};

The documentation seems to indicate that at least one of those should work, not 
sure what I've overlooked.

I've tried versions 7.6.3 and 7.6.4 of rsyslog. I'm on Ubuntu 12.04.3. The 
error message given is:

rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 27: 
syntax error on token 'module(' [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 email message is for the sole use of the intended recipient(s) and may 
contain confidential, proprietary and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message. If you are the intended recipient, please be 
advised that the content of this message is subject to access, review and 
disclosure by the sender's Email System Administrator.
_______________________________________________
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.

Reply via email to