This is part 2 of a 3 part video set in which I will show you how to monitor IIS logs and get notified when there is a 500 error.
To get notified of a specific event, we need to first create a filter that targets the log entries of interest. The easiest way to create our filter is to view the consolidated log entries, find an entry we want to be notified about then create a filter that is based off of the entry.
Now that we have a working IIS log entry filter, let's assign the filter to the log consolidation template.
Option | Description |
---|---|
Default | The Default setting triggers assigned actions when any entries are found. |
Frequency | The Frequency option enables you to suppress actions until a number of the entries are found, for example 100 entries. |
Proximity | The Proximity option enables you to scan for patterns, for example started and stopped messages. |
Now let's test our monitor.
If you want to limit the columns returned in email notifications, you can instead create a W3C Log Monitor then, after defining the Columns, simply disable the columns which you would like to exclude from the email notification. To show you this in action, I paused the video and created an ISS Log File Monitor. Here's what it looks like.