We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure a forwarder_output such as:
[tcpout:splunk-index-01.example.com_9997] server=splunk-index-01.example.com:9997
Then try to change to a different group name using purge_outputs to remove the old one:
class { '::splunk::forwarder': purge_outputs => true, }
The server= line is removed, but the group heading remains.
server=
Purge_outputs should delete the group name as well as the individual entry if no other entires exist for that group.
Notice: /Stage[main]/Splunk::Params/Splunkforwarder_output[Purge system/local default/defaultGroup]/ensure: removed Notice: /Stage[main]/Splunk::Params/Splunkforwarder_output[Purge system/local tcpout:splunk-index-01.example.com_9997/server]/ensure: removed Notice: /Stage[main]/Splunk::Params/Splunkforwarder_output[Purge system/local tcpout:default-group/server]/ensure: removed Notice: /Stage[main]/Splunk::Forwarder::Config/Splunkforwarder_output[tcpout_defaultgroup]/ensure: created Info: /Stage[main]/Splunk::Forwarder::Config/Splunkforwarder_output[tcpout_defaultgroup]: Scheduling refresh of Class[Splunk::Forwarder::Service] Notice: /Stage[main]/Splunk::Forwarder::Config/Splunkforwarder_output[defaultgroup_server]/ensure: created Info: /Stage[main]/Splunk::Forwarder::Config/Splunkforwarder_output[defaultgroup_server]: Scheduling refresh of Class[Splunk::Forwarder::Service]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Configure a forwarder_output such as:
Then try to change to a different group name using purge_outputs to remove the old one:
What are you seeing
The
server=
line is removed, but the group heading remains.What behaviour did you expect instead
Purge_outputs should delete the group name as well as the individual entry if no other entires exist for that group.
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: