While creating a monitoring job for an endpoint I attached a preprocessing script to flatten the captured data but my script fails with an invocation error. Furthermore, I am unable to see any logs from the preprocessing script in the cloud watch just an innovation error in monitoring job logs.
Tried writing into the '/opt/ml/output/message' file after encoding the logs in UTF-8 but could not see any logs from the script in monitoring job logs.
While creating a monitoring job for an endpoint I attached a preprocessing script to flatten the captured data but my script fails with an invocation error. Furthermore, I am unable to see any logs from the preprocessing script in the cloud watch just an innovation error in monitoring job logs. Tried writing into the '/opt/ml/output/message' file after encoding the logs in UTF-8 but could not see any logs from the script in monitoring job logs.