Skip to content
Documentation
Updated 5 minutes to read
Markdown

This guide shows you how to monitor IIS (W3SVC) log files using the Nodinite Log File Parser Monitoring Agent. You will learn how to configure monitoring, set up RegEx filters, and leverage Nodinite's alerting and diagnostics to proactively detect and resolve issues.

On this page, you will learn how to:

✅ Set up monitoring for IIS (W3SVC) log files with Nodinite
✅ Use RegEx filters to target specific log file patterns
✅ Configure alerts for errors and warnings in your IIS logs
✅ Access diagnostics and manage log file resources

Ensure you comply with the prerequisites and install the Nodinite Log File Parser Monitoring Agent.

Step 1: Add a new monitoring configuration

Section titled “ Step 1: Add a new monitoring configuration”

To add a new monitoring entry, click the Add button from the Content File tab.
Content File tab
Content File tab in Nodinite Log File Parser Monitoring Agent.

  1. Enable the configuration
  2. Name the configuration
  3. Provide an optional description
  4. Select the Application from the dropdown (available in version 7.2.0 and later)

General Tab
General tab for configuration details.

Next, enter the path to where the IIS (W3SVC) log files are located (for example, C:\inetpub\logs\LogFiles\W3SVC1).

  1. Enter the path
  2. Enter the RegEx-based filter (\.log$)

Path tab
Path tab for specifying log file location and filter.

Below is a table with some common RegEx file filter examples:

Filter Example Comment
\.xml$ XML Files All XML files with suffix ".xml"
\.txt$ Text Files All text files with suffix ".txt"
^ONLYME\.data$ Specific file Only this file "ONLYME.data"
^PrefixedFileName.*\.csv$ Matching a file name pattern Files with prefix ^PrefixedFileName, and suffix .csv

Next, enter the start match configuration.

  1. 'Line contains' (what error codes are we looking for? In this case 4xx and 5xx)
\- \- (4[0-9][02-9]|5[0-9]{2})

Match tab
Match tab for RegEx error code configuration.

  1. Clear Date Time - Leave empty for initial setup. This field allows you to ignore errors that occurred before a specific timestamp. Set this value through the Clear Errors action to reset monitoring after investigating issues. The timestamp is in ISO 8601 format (e.g., 2024-07-16 19:23:33.818Z).
  2. Select the File time option from the dropdown (e.g., Modified after Clear Date Time)
  3. Check the 'Lines have a DateTime' checkbox
  4. 'Match date' - Enter the RegEx pattern to extract the date and time from each line (the format in this case is 2017-05-17 13:37:00):
^([{0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2})

Warning if previous lines in the text files are ignored
A RegEx for the Date time is required to understand how to parse the date time for rows in the text file.
5. 'Matched date groups': Enter 1 to specify which RegEx capture group contains the date 6. Date Time Format (Optional): This field is optional and can be left empty 7. Use Agent time zone: Leave this checkbox unchecked unless the date and time in the log files lack UTC 'Z' indicator or offset

Time options tab
Time options tab for date/time configuration.

You must click 'Save' or 'Save and close' for changes to persist. The new settings/thresholds are evaluated on the next synchronization.
Save and Close buttons
Here's an example of the Save options.

Save and close, save, and close the dialogue.
Cancel, closes the dialogue without saving any changes.

Next, add the named Resource to a Monitor View.

Errors detected
Here's an example of a Monitor View with errors detected in IIS log files.

You can further review the details about the errors by clicking on the Actions button, and then clicking on the Error Report menu item.
Show Error Report Action
Error Report Remote Action in Monitor View.

This action opens a new modal with a list of all IIS log files where an error is still active (> last clear date-time).
Error Report
Error Report modal with active errors.

Additional information is available if you expand the row.
Details
Expanded error details in the Error Report.

To view the set of diagnostics files included in the Monitoring, click the Actions button, and then, the Show Log file(s) menu item.
Show Log File(s) menu item
Show Log File(s) menu item for diagnostics.

Next, a screen presents including a table with all the diagnostics log files.
Log Files
Log Files screen with diagnostics log files.

You can perform the following Actions on the diagnostic files:


Nodinite File Monitoring Agent

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...