I have seen the Function Error log in the Netlify UI in real-time. We have configured the Log drains to Azure log analytics workspaces and there also, I can see the INFO logs updated. But Error logs are not updated in Azure.
Then, I tried to find the error logs using custom time in Netlify UI but there were also no logs in there.
Whether there is a delay in sending the error logs to Azure?
Logs are sent in batches so there could be a delay of a few seconds, but they shouldn’t be missing. Could you share your site name or URL where the logs are missing?
@hrishikesh Yeah sure. This is our logs URL: Netlify App please hit this URL to see the error in real-time logs like below image.
We have set the redirect for this URL. So, to replicate the issue, you have to use the exact URL as mentioned.
Please let me know if you can’t replicate this issue.
@hrishikesh Any update on the error log missing issue
I checked our logs, and I see an error like:
dial tcp: lookup <your Azure host> on 10.4.4.10:53: no such host
Is there perhaps a misconfig of some kind?
@hrishikesh Yeah, it’s a configuration issue. Now we have the error logs in the Azure workspace.