anon_swe
anon_swe

Reputation: 9345

ML Engine: Access Prediction Logs

I'd like to access prediction logs for my model hosted on ML Engine. I've looked at this answer:

Exit code non-zero and unable to see output logs

and I have the StackDriver logging API enabled. How would I access the logs generated for each model prediction?

Thanks!

Upvotes: 0

Views: 304

Answers (1)

rhaertel80
rhaertel80

Reputation: 8389

Currently, the logs that are produced contain metadata, Apache-log style (e.g. timestamp, some latency information, etc.). They do not contain the requests (inputs) or responses (predictions). To enable these logs, see the docs:

https://cloud.google.com/ml-engine/docs/tensorflow/prediction-overview#prediction_logging

If you're interested in logging the request and responses, we're currently gathering information and would love to hear about your requirements. Please reach out to [email protected] and we'll ask you a few questions.

Upvotes: 1

Related Questions