How do you view the context.log messages for an Azure Node.js Function?
If I have the following:
exports.handler = async (context) => {
context.log.info('Hello Bob');
};
Where would I go to see Hello Bob?
I know exactly how to view such a phrase in AWS Cloudwatch but I cannot find the same in Azure. I have looked at: https://learn.microsoft.com/en-us/azure/azure-functions/functions-monitoring but it points to Application Insights which when I go there and look at say, Activity Logs, there is no information. I have also looked at Logs on that screen but it wants to run queries. So, how do you look at context.log.info data within Azure?
You can access that in the Azure Portal
It does not appear immediately. may take a couple of minutes after you run your function. also make sure the function has started



Or you can use the insights for that:

and 
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With