I have a azure function app, and i want to forward the application log to storage account for the future analysis & monitoring. However, the metrics are forwarded successfully, but the application log can not be seen, also we configured a event hub as another destination, but still, only the metrics can be seen, not the application logs.
The application log should be seen in Blob Storage
I was able to get the logs in azure storage account using this method. I have create a function app with timer trigger function
timer_trigger.You can do the settings in either Function App OR Application Insights.
I have performed action in Application insights.
all logsand selectArchieve to storage accountand Save it.insights-logs-<category name>.When you create Diagnostic Setting in **Function App ** only two option will be available. logs will be saved in blob name with same
insights-logs-<category name>andProvidersshow asMicrosoft.webas shown below:Output: