Check the logs to monitor the health of the script. Check splunkd.log for your local Splunk instance.