---
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.
---

:ReleaseNotes(https://portal.nodinite.com/marketplace/24):

# :fa-edit: Configuring Content File

Take control of your business-critical log files with the :Nodinite: [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  

>[!INFO]
>This guide teaches you how to configure monitoring of file content in text-based files using the :Nodinite: [Log File Parser Monitoring Agent][].

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

* :fa-user-graduate: **Example**: [How to monitor file content][FileContent]  
* :fa-user-graduate: **Example**: [How to monitor the IIS (W3SVC) log files][IISLogFileMonitoring]  
* :fa-user-graduate: **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.

* :fa-user-graduate: **Example**: [How to monitor correlated events][Correlation]  

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

## :fa-server: 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 :fa-square-plus: `Add` button to add one (or more) log file monitoring configurations:  

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

* :fa-repeat: 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][]:

* :fa-square-check: **Enabled** - When checked, this monitoring configuration is active
* :fa-tag: **Display name** - A user-friendly name for this monitoring configuration (mandatory)
* :fa-align-left: **Description** - The user-friendly short description for this monitoring configuration
* :fa-window-maximize: **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.*  

* :fa-folder: **Folder** - The folder where to look for log files to monitor. Provide a valid path that the agent can reach
* :fa-filter: **Filter** - To get a specific type of files, enter a matching **RegEx**-based expression
* :fa-square-check: **Include child folders** - When checked, include content in child folders

#### Filter

Below is a table with some common RegEx examples:

|:fa-filter: 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.*  

* :fa-magnifying-glass: **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.*  

* :fa-calendar-day: **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`
* :fa-clock: [File time option](#file-time-option) - Select the time option for files to be included for evaluation (using the time from the file system)
* :fa-square-check: [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).

* :fa-calendar-check: **Match date** - Enter the RegEx to extract the date and time (according to the format in the log file)
* :fa-object-group: **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`
* :fa-clock: **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`
* :fa-earth-europe: **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**

___

## :fa-hand-point-right: Next Steps

:fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  
:fa-display: [Add or manage Monitor View][]  
:fa-user-graduate: [How to monitor Content File][Correlation]  
:fa-user-graduate: [How to monitor file content][FileContent]  
:fa-user-graduate: [How to monitor Nodinite Diagnostic files][NNLogFileMonitoring]  
:fa-user-graduate: [How to monitor the IIS (W3SVC) log files][IISLogFileMonitoring]  

## :fa-link-horizontal: Related Topics

:fa-box-open: [Applications][]  
:fa-rocket: [Install Log File Parser Monitoring Agent][]  
:fa-display: [Monitoring][]  
:fa-monitor-waveform: [Monitoring Agents][]  
:fa-arrow-turn-up: [Update][]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/ContentFileTab.png
[3]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/EmptyAccordion.png
[4]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/GeneralTab.png
[5]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/PathTab.png
[6]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/TimeOptions.png
[7]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/MatchTab.png
[9]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/CF/TimeOptionsTab.png

[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.md
[Applications]:{ndr}/Administration/2.%20Monitor%20Management/5.%20Applications/Features/What%20is%20an%20Application.md
[Clear Errors on Managing Content Files]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Features/Managing%20Content%20Files.md#fa-broom-clear-errors
[Correlation]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Troubleshooting/How%20to%20monitor%20correlated%20events.md
[FileContent]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Troubleshooting/How%20to%20monitor%20file%20content.md
[General Tab]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Monitor%20View%20General%20Tab.md
[IISLogFileMonitoring]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Troubleshooting/How%20to%20monitor%20the%20IIS%20(W3SVC)%20log%20files.md
[Install Log File Parser Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Getting%20started/2.%20Install.md
[Log File Parser - Content File]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Getting%20started/3B.%20Configuration%20-%20Content%20File.md
[Log File Parser Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Overview.md
[Monitoring]:nodiniteDoc:/Monitoring
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md  
[NNLogFileMonitoring]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Troubleshooting/How%20to%20monitor%20Nodinite%20Diagnostic%20files.md
[RegEx]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Formula/Extract/regex.md
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Update]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Updating.md