Open Vincent-- opened 7 years ago
Try to add a monitor resource without any option in the inputs.conf (or with an empty value)
The corresponding line is not added
The corresponding line should be added
Not working:
splunk::forwarder::forwarder_input : 'default_foo': section : 'monitor://foo/bar.log' tag : 'splunk_forwarder'
splunk::forwarder::forwarder_input : 'default_foo': section : 'monitor://foo/bar.log' setting : 'foo' value : tag : 'splunk_forwarder'
Working (but I don't want to declare any variable for this monitor entry) :
splunk::forwarder::forwarder_input : 'default_foo': section : 'monitor://foo/bar.log' setting : 'foo' value : '' tag : 'splunk_forwarder'
Working (but I don't want to declare any variable for this monitor entry):
splunk::forwarder::forwarder_input : 'default_foo': section : 'monitor://foo/bar.log' setting : 'foo' value : 'bar' tag : 'splunk_forwarder'
This is really not the splunk module but the inifile module that splunk uses here
https://github.com/puppetlabs/puppetlabs-inifile
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Try to add a monitor resource without any option in the inputs.conf (or with an empty value)
What are you seeing
The corresponding line is not added
What behaviour did you expect instead
The corresponding line should be added
Output log
Any additional information you'd like to impart
Not working:
Not working:
Working (but I don't want to declare any variable for this monitor entry) :
Working (but I don't want to declare any variable for this monitor entry):