Hello Rahul Balayya (LTIMINDTREE LIMITED),
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you would like to know how to differentiate web app and function app logs.
From a developer and IT support perspectives, you can differentiate between web app and function app creation logs by their attributes.
- The source of the logs, web app logs could be found under AppServiceWebLogs or similar categories and Function App Logs could be found under FunctionAppLogs
- web app logs include info such as siteName, resourceGroup, and subscriptionId and function app logs will include attributes like FunctionName, FunctionInvocationId, and HostInstanceId.
- Also, their event names are different such as Microsoft.Web/sites/write for web app and Microsoft.Web/sites/functions/write for function app logs.
- By their category you should also be able to differentiate them with AppServiceWebLogs, AppServiceAuditLogs included in web app and FunctionAppLogs, FunctionExecutionLogs included in function app logs.
Read more here for clarification on each log:
- https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/functionapplogs
- https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-app-service-logging-how-to-monitor-your-web-apps-in-real/ba-p/3800390
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.