Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Microsoft Azure – Enable IIS Logs for Monitoring

  • Last Updated : 29 Dec, 2021

Log Analytics is an Azure service that collects and stores information/data from a set of different sources and we can use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide a variety of insights into our data.  

Internet Information Services (IIS) stores user activity in the form of log files that can be collected by the Log Analytics agent and stored in Azure Monitor logs.

Collect W3C format IIS log files for enabling IIS logs.

Note: IIS Logging on the machine is configured with hourly Log File Rollover. Other configurations may result in substantial delays in log collection.

Implementation:

Follow the below steps to enable IIS logs in Azure for monitoring: 

Step 1: Log in to Azure Portal.

Step 2: Access the Log Analytics Workspace >> Select your Log Analytics.

Step 3: After selecting the select Log Analytics Workspace, Navigate to Settings >> Agents Configuration.

Step 4: Select IIS Logs >> Enable the Collect W3C format IIS log files to true.

Step 5: Click on Apply to make the changes. 

That’s it. You are done. At this point, we have successfully enabled IIS logs for Monitoring our Azure.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!