0

My application stores logs in blog storage as that is the setting in App Service. My understanding is there are IIS logs in app service and they go to the blob storage as well. A)Here it is mentioned that "All log data in Azure Monitor is retrieved using a log query written with the Kusto query language"

B) But here it is mentioned that we need to do it manually:

  1. Create workspace
  2. Convert storage log to Json
  3. Post logs to workspace
  4. And only now you can query

Which one is true?

  • A: Do nothing and query logs from storage explorer
  • B: Migrate manually

Imagine if A is true then how do I know which table or DB shown on the explorer has the data from blog storage. And how do I differentiate between IIS logs? enter image description here

Blue Clouds
  • 7,295
  • 4
  • 71
  • 112

1 Answers1

0

Log Analytics can read the logs for the following services that write diagnostics to table storage or IIS logs written to blob storage:

  • Service Fabric Clusters
  • Virtual Machines
  • Web/Worker Roles

However IIS logs from Azure Websites are not currently supported as out of box solution. Documentation Reference.

You have to either perform it manual or automate the process to read from storage blob and send it to either Log Analytics/Application Insights as per your requirement.

Other related SO thread on same issue -

Azure Log Analytics and Azure App Service Access Logs, can they be connected

How to display azure app services web server log on Azure Log Analytics

You can always share your feedback and up vote the feature request here.

Hope it helps.

bharathn-msft
  • 877
  • 5
  • 10