Reputation: 185
In most recent versions of IIS, Advanced logging is no longer supported. I'm looking for an alternative, but the only thing I've been able to find is Enhanced Logging for IIS. Unfortunately, this does not support filtering based on patterns (eg do not filter calls that end in .png or only filter calls that end in .asp).
The logs are picked up by the Microsoft Monitoring Agent and sent to an Azure Monitoring Workspace.
Is there a workaround?
Upvotes: 1
Views: 667
Reputation: 15754
If your requirement is filter the calls which end with .png or .asp. You can use "Request Filtering" in IIS.
You can right click in "Request Filtering" page and "Allow File Name Extension" or "Deny File Name Extension" to add the specified extension which you want.
Upvotes: 1