---
title: Configure Content File Monitoring with Nodinite Log File Parser Monitoring Agent
description: Configure the Nodinite Log File Parser Monitoring Agent for content-based log file monitoring. Instantly detect key events, automate alerts, and ensure compliance and operational excellence with RegEx-powered, end-to-end visibility.
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/24" data-url="https://portal.nodinite.com/marketplace/24"><i class="fal fa-fw fa-file-alt" aria-hidden="true"></i> Release Notes</a>

# <i class="fal fa-edit" aria-hidden="true"></i> Configuring Content File

Take control of your business-critical log files with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log File Parser Monitoring Agent][]. This guide shows you how to configure content-based monitoring so you can:

* ✅ Instantly detect key events or errors in any text-based log file  
* ✅ Automate real-time alerts for compliance and operational excellence  
* ✅ Leverage RegEx for flexible pattern detection and custom monitoring scenarios  
* ✅ Reduce manual troubleshooting and ensure end-to-end visibility  

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>This guide teaches you how to configure monitoring of file content in text-based files using the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/logging-and-monitoring/log-file-parser/overview/">Log File Parser Monitoring Agent</a>.</p></div>
</aside>

[Content File][Log File Parser - Content File]  - Use this option to get alerts if the specified [RegEx][] matches data in one or more files.

* <i class="fal fa-user-graduate" aria-hidden="true"></i> **Example**: [How to monitor file content][FileContent]  
* <i class="fal fa-user-graduate" aria-hidden="true"></i> **Example**: [How to monitor the IIS (W3SVC) log files][IISLogFileMonitoring]  
* <i class="fal fa-user-graduate" aria-hidden="true"></i> **Example**: [How to monitor Nodinite Diagnostic files][NNLogFileMonitoring]  

Alternatively, monitor files based on event correlation:

**Correlated Events** (Log File Event) - Use this option to correlate events spanning one or more log files containing a date and an identifier for end-to-end tracking.

* <i class="fal fa-user-graduate" aria-hidden="true"></i> **Example**: [How to monitor correlated events][Correlation]  

Practice and test your RegEx expressions using [RegEx101](https://regex101.com/)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> or a similar tool. Master RegEx to maximize the value of this agent.

## <i class="fal fa-server" aria-hidden="true"></i> Add 'Content File' monitoring configuration

The **Content File** tab holds an array with one or more configuration entries for a **Content File** Monitoring.  
![Content File Tab][1]  
*Content File tab showing configuration management interface.*  

* Press the <i class="fal fa-square-plus" aria-hidden="true"></i> `Add` button to add one (or more) log file monitoring configurations:  

![New Content File Entry][3]  
*Accordion view of Content File monitoring configuration entry.*  

* <i class="fal fa-repeat" aria-hidden="true"></i> Repeat this step as required by your business need.  

### Configuring the Content File Monitoring entry

Click the Accordion to expand the configuration, then you can manage the content of the configuration.  

### General tab

Next, enter the essential details for fields available in the **General** tab:  

![General Tab][4]  
*General tab configuration showing name, description, and application association fields.*  

For each entry, the following properties can be set in the [General Tab][]:

* <i class="fal fa-square-check" aria-hidden="true"></i> **Enabled** - When checked, this monitoring configuration is active
* <i class="fal fa-tag" aria-hidden="true"></i> **Display name** - A user-friendly name for this monitoring configuration (mandatory)
* <i class="fal fa-align-left" aria-hidden="true"></i> **Description** - The user-friendly short description for this monitoring configuration
* <i class="fal fa-window-maximize" aria-hidden="true"></i> **Application** - Select the Application from the dropdown to associate this configuration with an Application (available in version 7.2.0 and later; mandatory)

### Path tab

Next, enter details about the folder and type of files, available in the **Path** tab:  

![Path Tab][5]  
*Path tab showing folder location, file filter, and child folder inclusion options.*  

* <i class="fal fa-folder" aria-hidden="true"></i> **Folder** - The folder where to look for log files to monitor. Provide a valid path that the agent can reach
* <i class="fal fa-filter" aria-hidden="true"></i> **Filter** - To get a specific type of files, enter a matching **RegEx**-based expression
* <i class="fal fa-square-check" aria-hidden="true"></i> **Include child folders** - When checked, include content in child folders

#### Filter

Below is a table with some common RegEx examples:

|<i class="fal fa-filter" aria-hidden="true"></i> 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`|  

### Match tab

Next, enter details about what to look for in the log files, available in the **Match** tab:  

![Match tab][7]  
*Match tab for configuring RegEx pattern matching on log file content.*  

* <i class="fal fa-magnifying-glass" aria-hidden="true"></i> **Line contains** - Enter the RegEx to check if the line contains a match. Use 'X' to start checking for date, value, and error(s)

### Time Options Tab

Configure time-based filtering to control which files and log entries are monitored.  

![Time Options Tab][9]  
*Time Options tab showing Clear Date Time, file time options, and date/time extraction settings.*  

* <i class="fal fa-calendar-day" aria-hidden="true"></i> **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][Clear Errors on Managing Content Files] action to reset monitoring after investigating issues. Use ISO 8601 format (UTC or with date time offset), e.g., `2019-05-17T13:37:00.123+02:00`
* <i class="fal fa-clock" aria-hidden="true"></i> [File time option](#file-time-option) - Select the time option for files to be included for evaluation (using the time from the file system)
* <i class="fal fa-square-check" aria-hidden="true"></i> [Lines have a DateTime](#lines-have-a-datetime) - When checked, you can use the Clear operation to ignore previous errors on a line-by-line basis. Otherwise, the Clear operation applies to each file

#### Lines have a DateTime

When you check the 'Lines have a DateTime' checkbox, the following properties can be set. If your log file has a date time, you can use a [Remote Action][Remote Actions] ('[Clear Errors][Clear Errors on Managing Content Files]') to ignore previous errors in the set of files included according to the [File time option](#file-time-option).

* <i class="fal fa-calendar-check" aria-hidden="true"></i> **Match date** - Enter the RegEx to extract the date and time (according to the format in the log file)
* <i class="fal fa-object-group" aria-hidden="true"></i> **Matched date groups** - The RegEx match group numbers, or named groups (comma separated list). E.g. `^([0-9]{4}-[0-9]{2}-[0-9]{2}[T\s]?[0-9]{2}:[0-9]{2}:[0-9]{2}:[0-9]{2}\,[0-9]{3}\,+[0-9]{2}:[0-9]{2})?`, use number `1`
* <i class="fal fa-clock" aria-hidden="true"></i> **Date Time Format (Optional)** - Enter the Date Time format to use in the conversion to a DateTime, e.g., `yyyy-MM-dd HH:mm:ss.fffZ`
* <i class="fal fa-earth-europe" aria-hidden="true"></i> **Use Agent time zone** - Use this setting when the date and time lack the UTC 'Z' indicator or offset. When checked, assume the date-time is in the same time zone as the agent. Otherwise, assume the date-time is UTC

**Example RegEx pattern for date extraction:**

```regex
([0-9]{4}-[0-9]{2}-[0-9]{2}[T\s]?[0-9]{2}:[0-9]{2}:[0-9]{2}:[0-9]{2}\,[0-9]{3}\,+[0-9]{2}:[0-9]{2})?)
```

#### File Time Option

![File Time Options][6]  
*Available file time filtering options for controlling which files are monitored.*  

* **Modified after Clear Date Time**
* **Created after Clear Date Time**
* **Modified after - File time span**
* **Created after - File time span**
* **Created after Clear Date Time - File time span** - This is a helpful option for IIS Logs
* **Last Modified, one file only**
* **Last Created, one file only**
* **Evaluate all**

___

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]  
<i class="fal fa-display" aria-hidden="true"></i> [Add or manage Monitor View][]  
<i class="fal fa-user-graduate" aria-hidden="true"></i> [How to monitor Content File][Correlation]  
<i class="fal fa-user-graduate" aria-hidden="true"></i> [How to monitor file content][FileContent]  
<i class="fal fa-user-graduate" aria-hidden="true"></i> [How to monitor Nodinite Diagnostic files][NNLogFileMonitoring]  
<i class="fal fa-user-graduate" aria-hidden="true"></i> [How to monitor the IIS (W3SVC) log files][IISLogFileMonitoring]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fal fa-box-open" aria-hidden="true"></i> [Applications][]  
<i class="fal fa-rocket" aria-hidden="true"></i> [Install Log File Parser Monitoring Agent][]  
<i class="fal fa-display" aria-hidden="true"></i> [Monitoring][]  
<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Monitoring Agents][]  
<i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Update][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/ContentFileTab.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/EmptyAccordion.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/GeneralTab.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/PathTab.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/TimeOptions.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/MatchTab.png
[9]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/TimeOptionsTab.png

[Add or manage a Monitoring Agent Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/
[Add or manage Monitor View]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/add-or-manage-monitor-view/
[Applications]:https://docs.nodinite.com/administration/monitor-management/applications/features/what-is-an-application/
[Clear Errors on Managing Content Files]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/features/managing-content-files/#fa-broom-clear-errors
[Correlation]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/troubleshooting/how-to-monitor-correlated-events/
[FileContent]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/troubleshooting/how-to-monitor-file-content/
[General Tab]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/monitor-view-general-tab/
[IISLogFileMonitoring]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/troubleshooting/how-to-monitor-the-iis-w3svc-log-files/
[Install Log File Parser Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/getting-started/install/
[Log File Parser - Content File]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/getting-started/configuration-content-file/
[Log File Parser Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/overview/
[Monitoring]:https://docs.nodinite.com/monitoring/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/  
[NNLogFileMonitoring]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/troubleshooting/how-to-monitor-nodinite-diagnostic-files/
[RegEx]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/formula/extract/regex/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Update]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/updating/