-
-
Save anonymous/2bcb966643336fd34fac to your computer and use it in GitHub Desktop.
inputs.conf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is managed by puppet | |
# Module:splunk::forwarder.pp | |
# $puppet/modules/splunk/template/forwarder/inputs.conf.erb | |
<% if operatingsystem == "Darwin" %> | |
<%= scope.lookupvar('splunk::platform::darwin') %> | |
<% elsif operatingsystem == "windows" %> | |
<%= scope.lookupvar('splunk::platform::windows') %> | |
<% else %> | |
<%= scope.lookupvar('splunk::platform::nix') %> | |
<% end -%> | |
[default] | |
host=<%= clientcert %> | |
index=corp | |
<% @monitor_paths.sort.each do |source_type, log_path| -%> | |
[monitor://<%= log_path %>] | |
sourcetype=<%= source_type %> | |
disabled = false | |
<% end -%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment