Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

cloud vision logging

Hi Everyone,

I've been using Google Vision for quite sometime. However, through Logs Explorer, I cannot find any log related to that service. I've tried to query using this filter:

protoPayload.serviceName="vision.googleapis.com"
And return empty result. I've put wider timeline for the last 30 days, in which the Vision API service was hit thousands time.
Is there something that I missed in configuration?
 
Thank you for all the help!
0 3 395
3 REPLIES 3

aaronscottb
Former Googler

To ensure that your Cloud Logging is working properly, you may try to manually use Cloud Vision API. You may use this Quickstart as reference. Once executed, you may immediately go to Logs Explorer and in the query, use the filter

protoPayload.serviceName="vision.googleapis.com"

If there are still no logs appear during the query, you may have some issues that require inpecting your actual project. With this, you may contact https://cloud.google.com/support so that a support can inspect your actual project and identify/resolve the issue.

Hi @aaronscottb , thank you.

I tried your suggestion and indeed I can see the log Logs Explorer.  

mrid_0-1675312059485.png

However, it seems it is an AuditLog. What I am looking for is information like image data being sent, result of the prediction. Is there any information like that?

Thank you

Hi @MR

Did you find an answer for your question? I think there are no logs provided for the data being sent or the responses.

Thank you.