6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# File 'manifests/input/monitor.pp', line 6
define splunk::input::monitor ( $path,
$host = undef,
$index = undef,
$source = undef,
$sourcetype = undef,
$queue = undef,
$host_regex = undef,
$host_segment = undef,
$whitelist = undef,
$blacklist = undef,
$crcSalt = undef,
$initCrcLength = undef,
$ignoreOlderThan = undef,
$followTail = undef,
$alwaysOpenFile = undef,
$time_before_close = undef,
$recursive = undef,
$followSymlink = undef
) {
include splunk
$_path = any2array($path)
realize Concat['inputs.conf']
concat::fragment { "monitor-${title}":
target => 'inputs.conf',
content => template( 'splunk/inputs.conf/monitor.erb' )
}
}
|