QuestionQ123

VerifiedConfiguring Forwarders

This file was manually created on a universal forwarder:

/opt/splunkforwarder/etc/apps/my_TA/local/inputs.conf  
[monitor:///var/log/messages]  
sourcetype=syslog  
index=syslog  

A new Splunk administrator then connects the universal forwarders to a deployment server and deploys the same app with a new inputs.conf file:

/opt/splunk/etc/deployment-apps/my_TA/local/inputs.conf  
[monitor:///var/log/maillog]  
sourcetype=maillog  
index=syslog  

Which file is now being monitored?

Explanation

A deployment server overwrites the existing content of a managed app on its deployment clients unless excludeFromUpdate is configured to preserve local content. The deployed my_TA/local/inputs.conf therefore replaces the manually created local file and defines only the monitor input for /var/log/maillog.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!