I've run some batch operations on Document AI processors, but I cannot find any logs of them. In logs explorer, I've used:
resource.type="audited_resource"
resource.labels.service="documentai.googleapis.com"
Training and creating processors show up, but not making the actual batch processes on documents. Is there a permission or setting I've missed to set?
Hi nittonfemton ,
Welcome to Google Cloud Community!
Your query seems to be on the right track, but the batch processing logs you're looking for might be located under a different log stream or category. Here are key considerations that you might need to check to resolve the issue:
Log Filter - Make sure that you're using the correct filter for batch processing logs. You might need to use a different resource type or label.You may need to refine your filter to include specific fields related to the batch operation, such as the processor name or operation ID.
Log Retention - Check if the logs have been retained for the duration you're looking for. If logs are deleted after a certain period, they might not be available anymore.
Check IAM Permissions - Review the IAM permissions for your service account. Make sure the permissions include roles that allow access to Document AI audit logs. You might also need permissions for general logging and monitoring. The exact roles you need can vary depending on your organization's rules.
Verify Log Sinks - Check your Cloud Logging configuration to ensure that audit logs from Document AI are being sent to a log sink associated with your project.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |