Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for legacy options in the module #4

Merged
merged 3 commits into from
Jun 10, 2016

Conversation

tuxfight3r
Copy link

The documentation needs to be updated pending your approval. I've tested it with the below data. If you have any suggestions for improvement, I'm happy to implement it. thanks.

This time I will do the documentation as a separate pull request :)

rsyslog::client::legacy_config:
  auth_priv_rule:
    key: "auth,authpriv.*"
    value: "/var/log/auth.log"
  auth_none_rule:
    key: "*.*;auth,authpriv.none"
    value: "/var/log/syslog"
  syslog_all_rule:
    key: "syslog.*"
    value: "/var/log/rsyslog.log"
  kernel_all_rule:
    key: "kern.*"
    value: "/var/log/kern.log"
  mail_all_rule:
    key: "mail.*"
    value: "/var/log/mail.log"
  mail_error_rule:
    key: "mail.err"
    value: "/var/log/mail.err"
  news_critical_rule:
    key: "news.crit"
    value: "/var/log/news/news.crit"
  news_error_rule:
    key: "news.err"
    value: "/var/log/news/news.err"
  news_notice_rule:
    key: "news.notice"
    value: "/var/log/news/news.notice"
  emergency_rule:
    key: "*.emerg"
    value: ":omusrmsg:*"
  testing_legacy_rule:
    value: "*.* >dbhost,dbname,dbuser,dbpassword;dbtemplate"
    type: "legacy"
  testing_legacy_remote_logserver:
    value: "*.* @@logmonster.cloudfront.net:1514"
    type: "legacy"

@crayfishx crayfishx self-assigned this Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants