Skip to content

devopsconsulting/puppet-rsyslog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

puppet-rsyslog: rsyslog module

Enabling rsyslog, optionally with a logstash backend:

class {"rsyslog":
    logstash_port => '5544',
    logstash_server => {'ipaddress' => '123.53.43.1'}
}

Without logstash:

class {"rsyslog":}

Include a (non syslog) file into rsyslog:

rsyslog::register {"apache":
    logfile => '/var/log/httpd/errors.log',
    order => '67'
}

example

class {"rsyslog":
    logstash_server => server_with_role("logstash", false),
    stage => 'setup'
}

rsyslog::register{"puppet-agent":
  logfile => '/var/log/puppet.log',
  order => '99'
}

About

rsyslog configuration for use with log stash or other services.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages