I need inputs from a timely scheduled script from a remote server.
Can I configure this script on deployment server, placing the script in $SPLUNKHOME$/deploymentapps/<appname>/bin/ & the respective inputs, props, and other conf files in $SPLUNKHOME$/deploymentapps/<appname>/local/ . Then push these settings to respective hosts with Splunk universal forawrders installed
I know this thread has been quite sometimes but I'd like to share my answers in case it'd help others.
I've had success settings up scripted input running at an interval (in seconds) for UF v6.2.1 which is pretty simple:
Make sure you place your script under folder ..//bin/scripts/ with proper execute permission (in case in linux)
Configure scripted input inputs.conf pointing to the script correctly
for script placement
for inputs.conf configuration
sourcetype = mysourcetype
index = myindex
interval = 60.0
disabled = false
Make sure you placed above configs in your deployment server and perform deploy-server to push this to your HF.
This is with assumptions you've correctly setup the UF deploymentclients.conf, the outputs.conf and other neccessary setup accroding to your existing splunk architectural layout.