Reference
Table of Contents
Classes
logstash_tcp_reporter
: Reports logs and metrics to logstash via tcplogstash_tcp_reporter::params
: Default values
Classes
logstash_tcp_reporter
Reports logs and metrics to logstash via tcp
Examples
add the class to your puppetserver profile
class { 'logstash_tcp_reporter':
logstash_host => 'logstash.example.com',
logstash_port => 5999,
}
Add the String 'logstash_tcp' to 'reports' setting in the main section of your Puppetserver
Parameters
The following parameters are available in the logstash_tcp_reporter
class.
logstash_host
Data type: Stdlib::Host
Hostname or IP of the logstash server
Default value: '127.0.0.1'
logstash_port
Data type: Stdlib::Port
Port of the logstash server
Default value: 5999
logstash_timeout
Data type: Integer
Timeout in seconds to connect to the logstash server
Default value: 10
config_owner
Data type: String
Owner of the configuration file
Default value: $logstash_tcp_reporter::params::config_owner
config_group
Data type: String
Group of the configuration file
Default value: $logstash_tcp_reporter::params::config_group
logstash_tcp_reporter::params
Default values