Defined Type: logstash::input::udp2log
- Defined in:
- modules/logstash/manifests/input/udp2log.pp
Overview
Define: logstash::input::udp2log
Configure logstash to collect input as a udp2log relay listener.
Parameters:
-
$port: port to listen for udp2log input on
-
$priority: Configuration loading priority. Default '10'.
-
$ensure: Whether the config should exist.
-
$plugin_id: Name associated with Logstash metrics
Sample usage:
logstash::input::udp2log {
port => 8324,
}
19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'modules/logstash/manifests/input/udp2log.pp', line 19
define logstash::input::udp2log(
$ensure = present,
$port = 8324,
$priority = 10,
$plugin_id = "input/udp2log/${port}",
$tags = undef,
) {
logstash::conf { "input-udp2log-${title}":
ensure => $ensure,
content => template('logstash/input/udp2log.erb'),
priority => $priority,
}
}
|