The Wayback Machine - https://web.archive.org/web/20240930172403/https://www.geeksforgeeks.org/microsoft-azure-enable-iis-logs-for-monitoring/
Open In App

Microsoft Azure – Enable IIS Logs for Monitoring

Last Updated : 30 Mar, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

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.


Previous Article
Next Article

Similar Reads

Microsoft Azure - Enable Linux System Logs in Azure for Monitoring
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. Enable and Collect Linux Syslog from Log Analytics agents at custom i
1 min read
Microsoft Azure - Enable Windows Event Logs in Azure for Monitoring
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. Enable Windows Event Logs to collect log data from standard logs, lik
1 min read
Microsoft Azure - Query Azure Storage Logs in Azure Monitor Log Analytics
Pre-requisite:- Azure Log Analytics is a tool offered by Azure, which is used to edit and run log queries against data in the Azure Monitor Logs store and helps interactively analyze their results. One can easily use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide various insi
5 min read
Microsoft Azure - Enable Linux Performance Counters in Azure for Monitoring
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. Collect Linux performance counters from Log Analytics agents at custo
1 min read
Microsoft Azure - Enable Windows Performance Counters in Azure for Monitoring
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. Collect windows performance counters from Log Analytics agents at cus
1 min read
Microsoft Azure - Enable Azure Monitor VM Insights Agent For Azure VM
Azure Monitor VM Insights Agent enables you to get more visibility into the health and performance of your Azure VM. Here we'll see how we can enable Azure Monitor VM Insights to monitor the health, performance, and dependencies of azure virtual machines. Implementation: Follow the below steps to enable Azure Monitor VM insights agents for an Azure
2 min read
Microsoft Azure - Azure Firewall Flow Logs From Select Source IP
In this article, we will be find Azure Firewall Network Flow traffic of Inbound or Outbound from Select Source IP Address by using KQL Query by using the following three scenarios. Case 1: KQL Query to find the Azure Firewall Network Logs from Select Source IP Address projecting all the properties of Time Generated, Source IP Address, Target IP Add
2 min read
Microsoft Azure - Enabling Logs for Troubleshooting the Azure Firewall Rules
Azure Firewall Diagnostic settings are used to configure logs and metrics for a resource to the destination of Log Analytics Workspace. Pre-requisites: Azure Firewall ResourceLog Analytics Workspace which is configured for monitoring your Azure resources.Implementation: Step 1: Login to Azure Portal Step 2: Search for Firewalls from azure global se
1 min read
Microsoft Azure - Monitoring Azure Functions
In this article we will how to monitor Azure Functions. In the article, we are basically going to look into the GA’ing of the new portal experience for Azure Functions. And specifically, you are going to dial into the monitoring aspects of how to monitor a function, how to see what’s going on, even when you are not in the portal. Implementation: Le
5 min read
How to Configure Azure Activity "Administrative" Logs on Azure Subscription using PowerShell?
Azure Activity "Administrative" logs are a type of activity log that record events that occur in your Azure subscription. By enabling and configuring the Azure Activity "Administrative" logs will collect and store logs in your specified log analytics workspace (this is your log destination). Administrative logs help you to view and analyze the logs
3 min read
Microsoft Azure - Enable Boot Diagnostics For a VM in Azure
Enabling Boot diagnostics helps to debug the azure virtual machine boot failures by collecting the logs and snapshots. Boot diagnostics is enabled by default when we create a VM. If not enabled when creating you can follow the below steps to enable the boot diagnostics for an azure virtual machine. Prerequisites: Must have a provisioned Azure Virtu
2 min read
Microsoft Azure - Enable Local Cache on Azure App
The Azure App Service local cache feature provides a web role view of content. This content is a writer but discards the cache of your storage container that is created asynchronously on-site startup. Apps that run on local cache have the following benefits: They are immune to latencies that occur when they access content on Azure storage.They're i
2 min read
Microsoft Azure - Firewall Network Flow Logs with TimeGenerated using KQL
Here, In this article, we will be using the azure kql log queries to fetch the azure network flow logs traffic flowing through by setting the time using TimeGenerated in query. We will look into a few various examples and how we can use them to filter the results. KQL Query Example 1: To find the Azure network logs of Inbound and Outbound for the l
2 min read
Microsoft Azure - Application Gateway Incoming Access Logs
Pre-requisites: Introduction to Microsoft Azure | A cloud computing service In this article, you will be learning about how to fetch the requests of azure application gateway incoming access logs using azure Kusto query language (KQL). Here in this article, we will be finding the requests of app gateway errors, Non-SSL requests on the Application G
2 min read
How To Check Usage of Data Logs in Microsoft Azure?
Pre-requisites: Azure and Microsoft Azure – Configuring Log Analytics Data Retention In this article, we will show you how to check the usage of data ingestion logs of your Azure resources from the azure portal in simple easy steps. To view the services in azure you should require an RBAC Contributor for any read-write change or RBAC reader access
2 min read
Microsoft Azure - Get Azure VM Properties using Azure PowerShell
The purpose of using the Azure PowerShell Commands is to quickly analyze the overall properties of VM/VMs at once the filtering the with select and where conditions. To find the properties of an Azure VM, you can perform the following commands in Azure Cloud Shell to get the details. Command: Get-AzVM Output: 1. Get all properties of an Azure Virtu
2 min read
Microsoft Azure - RDP to Azure Virtual Machines using Azure Bastion
In this article, we will learn how to do RDP(Remote Desktop Protocol) / SSH(Secure Shell) Connection to an Azure VM using Azure Bastion. First, let's discuss Azure Bastion. The Azure Bastion service is a fully platform-managed PaaS service that you provision inside your virtual network. It provides secure and seamless RDP/SSH connectivity to your v
3 min read
Microsoft Azure - Configure Azure SQL with Azure CLI
In this article, we're going to take a closer look at how you can configure something like connectivity using the Azure CLI. What we have here is we are in Azure Data Studio and similar to the SQL notebook we are actually using a PowerShell notebook. That just means all our code cells are going to run PowerShell and we are just connecting to localh
4 min read
Microsoft Azure - Get CPU Utilization Data of a Azure VM in Azure Portal
Azure Virtual Machines (VM) is one of several types of on-demand, scalable computing resources that Azure offers. In this article, we will look into the process of getting the CPU Utilization data of an Azure VM in Azure Portal. Implementation: Follow the steps to get the CPU Utilization of an Azure VM in Azure Portal: Step 1: Log in to your Azure
2 min read
Microsoft Azure - Archive Azure VM to Azure Storage Account
In this article, we will be implementing a solution to archive a select azure VM snapshot to a select storage account for archiving using azure cloud shell. For implementation, we will be using Azure CLI commands. Prerequisite:VM SnapshotA storage account is neededUser needs "Storage Blob Contributor Data" IAM Role Access on Archiving Storage Accou
2 min read
Microsoft Azure - Check Status of Azure VM using Azure PowerShell
The following Azure PowerShell command helps you to find the Azure VM Config and properties details of Os Name, Os Version, Hyper V Generation, Disks properties, Extensions properties of Type Handler Version, Status and Message, VM Agents properties of Type Handler Version, Status and Message and also VM Power Status Codes, Messages, Plugins, Time
3 min read
Microsoft Azure - Azure VM Disk Space in Percentage using Azure KQL
Here we'll be using the Azure Insights Metric Query to find the free disk space in percentage using KQL. The purpose of this query is to find disk drive free space of all the Azure VMs without logging into every server. You can Run the following KQL log Queries in Azure Monitor or Azure VM Logs or Log Analytics Workspace. Note: VM Insights Agent sh
1 min read
Microsoft Azure - Azure CLI Commands to Manage Azure VMs
Azure Command-line interface is used to manage or to create Azure resources. By using the simple AZ CLI command we can manage Azure VM quickly and at a Scale. Let's get started by using a few important Azure CLI commands to manage Azure Virtual Machines. 1. Start a Specific Stopped VM in a Select Resource Group Use the below command to start a spec
2 min read
Microsoft Azure - Manage Azure VMs using Azure PowerShell Commands
Here we are using Azure PS Commands to manage azure resources from Azure Cloud Shell or by using Windows PowerShell. By using the simple AZ PS command we can manage Azure VM Quicks without any efforts of navigating in Azure Portal and at Scale. Let's get started by using the major Azure PS commands to manage Azure Virtual Machine. 1. Start a Specif
2 min read
Microsoft Azure - Install Azure Command Line Interface (Azure CLI)
Azure CLI is a very powerful tool that can be used to automate tasks, create, update, manage or delete azure resources or to troubleshoot problems with az module cmdlets. By installing az modules on your system or on your development system you and your development team can easily create, update or manage Azure AD and Azure resources such as manage
4 min read
Microsoft Azure Windows Monitoring Agents
Azure is Microsoft’s cloud computing platform which helps to build solutions to meet business goals. It supports infrastructure (IaaS), platform (PaaS), and software-as-a-service (SaaS) computing services. It also supports advanced computing services like artificial intelligence, machine learning, and IoT. Azure allows you to build, manage and depl
2 min read
Microsoft Azure - Heartbeat KQL Log Monitoring Query
Pre-requisites: Microsoft Azure – Troubleshoot Azure VM Process using KQL Microsoft Azure – Track CPU Utilization of Azure Virtual Machines using KQL Log Query Heartbeat is an Azure Log Management solution and you can get/fetch the below following information from the KQL Log Heartbeat query.: Computer NameAn Environment that hosts the computer: Az
2 min read
Microsoft Azure- Backing Up, Restoring, and Cloning Microsoft Azure App Services
Microsoft is well known for developing relevant software which are using in today's time of technology to conquer the demand of users and developers to build up applications. In sequence of it Microsoft introduces Azure well known as Microsoft Azure to make quality applications. In this article, we will discuss Backing up, restoring and cloning Mic
8 min read
Microsoft Azure -Create a User in Microsoft Entra ID from Azure Portal
A user in Microsoft Entra ID is an individual who can get access to Azure identity. This Microsoft Entra ID identity can be used to access applications and resources that are protected within the organization or project. Users can be created manually or automatically, and they can be assigned to groups and roles to control their access permissions.
3 min read
Microsoft Azure- Disk Storage in Microsoft Azure
Azure Disk Storage is the only shared cloud block storage that supports both Windows and Linux-based clustered or high-availability applications via Azure shared disks. There are two types of Disks in Azure : Managed Disks Unmanaged Disks.Managed DisksSimplest optionLower management overhead as Azure manages the storage accounts.Only LRS replicatio
6 min read