I have looked through previous forums and tried to modify what I have <see below> to match what as in the doc and also what was shown in a previous Forum posting....all to no avail.
Here is what I have:
/opt/splunk/etc/app/scripts/bin/hastatus-sum.sh (chmod'd to +x)
#!/bin/sh
# grab a snapshot of what is online in which server.
/opt/VRTS/bin/hastatus -sum # test confirms this runs
/opt/splunk/etc/app/scripts/inputs.conf
[script://opt/splunk/etc/apps/scripts/bin/hastatus-sum.sh]
interval = 30 # run every 30 seconds
index = main
sourcetype = hastatus-sum # set sourcetype to hastatus
disabled = false
/opt/splunk/etc/app/scripts/props.conf
[hastatus-sum]
BREAK_ONLY_BEFORE = gobblygook
DATETIME_CONFIG = CURRENT
Nothing shows in the splunkd.log file as failing. Nothing shows that it is trying to run either.
Am I missing something? I have stop/started Splunk each time I make changes.
Help.