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

Feature/module hash #6

Merged
merged 5 commits into from
Jul 19, 2016
Merged

Conversation

tuxfight3r
Copy link

Provides option support for module configuration and tweaked module priorities for optimal configuration

rsyslog::server::modules:
  imuxsock: {}
  imklog: {}
  omelasticsearch: {}
  imtcp: {}
  imudp:
    config:
      threads: "2"
      TimeRequery: "8"
      batchSize: "128"
  omusrmsg:
    type: "builtin"
  omfile:
    type: "builtin"
    config:
      fileOwner: "syslog"
      fileGroup: "adm"
      dirGroup: "adm"
      fileCreateMode: "0640"
      dirCreateMode: "0755" 
  impstats:
    type: "external"
    config:
      interval: "60"
      severity: "7"
      log.syslog: "off"
      log.file: "/var/log/rsyslog/logs/stats/stats.log"
      Ruleset: "remote"

will produce this output

module ( load="imtcp" )
module ( load="omelasticsearch" )
module ( load="builtin:omusrmsg" )
module ( load="imklog" )
module ( load="impstats" 
          interval="60"
          severity="7"
          log.syslog="off"
          log.file="/var/log/rsyslog/logs/stats/stats.log"
          Ruleset="remote"

)
module ( load="imuxsock" )
module ( load="imudp" 
          threads="2"
          TimeRequery="8"
          batchSize="128"

)
module ( load="builtin:omfile" 
          fileOwner="syslog"
          fileGroup="adm"
          dirGroup="adm"
          fileCreateMode="0640"
          dirCreateMode="0755"

)

@tuxfight3r
Copy link
Author

Documentation will be updated as a separate pull request.

@crayfishx
Copy link
Contributor

LGTM

@crayfishx crayfishx merged commit 6be908a into voxpupuli:master Jul 19, 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