---
title: Automate Monitoring of Correlated Events in Log Files with Nodinite – End-to-End Alerting
description: Automate monitoring of correlated log file events across multiple files and receive real-time alerts with Nodinite. Empower integration experts with RegEx-based, end-to-end visibility and proactive alerting.
---

# :fa-edit: How to automate monitoring of correlated events

Take control of your log file monitoring with :Nodinite: [Log File Parser Monitoring Agent][]. This guide shows you how to:

* ✅ Instantly detect missing or late correlated events across multiple log files
* ✅ Automate real-time alerts for business-critical processes
* ✅ Leverage powerful [RegEx][] for flexible, custom monitoring scenarios
* ✅ Gain end-to-end visibility and reduce manual troubleshooting

With :Nodinite:, you automatically detect and alert on missing or delayed records. You ensure seamless process visibility and operational excellence for integration experts and decision-makers.

Let's explore a practical example. Imagine you have a text-based log file where an ORDER with Id **456** lacks its corresponding ORDERRESPONSE **456**. Such gaps disrupt business operations, but :Nodinite: detects and alerts on these issues for you. The [Log File Parser Monitoring Agent][] uses RegEx, so you monitor virtually any entity or event pattern relevant to your business.

``` txt
2019-04-10 13:37:00.000 ORDERS #123
2019-04-10 13:39:00.123 ORDERS #456
2019-04-10 14:12:34.456 ORDERRESPONSE #123
```

*Example: The order response for order **456** is missing*  

## :fa-square-plus: Before you begin

Ensure you meet the [prerequisites][Prerequisites for Log File Parser Monitoring Agent] and have installed the :Nodinite: [Log File Parser Monitoring Agent][].

## :fa-forward-step: Step 1: Add a new monitoring configuration

To add a new monitoring entry, click the :fa-square-plus: **Add** button from the **Log File Events** tab.  
![tab][1]  
*The Log File Events tab where you add new monitoring entries.*

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

![General Tab][2]  
*General configuration tab for correlated event monitoring.*

## :fa-forward-step: Step 2: Set the monitor path

Enter the path to the log files containing the events you want to correlate (e.g., `C:\Temp\Log File Parser`).

1. Enter the path
2. Enter the RegEx-based filter (e.g., `\.txt$`)

![Path][3]  
*Specify the folder and file filter for log file monitoring.*

Common RegEx file filter 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`|  

## :fa-forward-step: Step 3: Set the start match

Configure the start match to define the beginning of a correlation:

1. Line contains (e.g., `ORDERS`)
2. Match date (RegEx for date format): `([0-9]{4}-[0-9]{2}-[0-9]{2}[T\\s]?[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}(\\+[0-9]{2}:[0-9]{2})?)`
3. Leave 'Date Time Format (Optional)' empty for this example
4. Matched date groups: `1`
5. Match value (e.g., number after #): `#([0-9]{1,})`
6. Matched value groups: `1`
7. (Optional) Additional RegEx for other content (leave empty in this example)

![Start match][4]  
*Configure the start match for correlation.*

## :fa-forward-step: Step 4: Set the end match

Define the end match to complete the correlation:

1. Line contains (e.g., `ORDERRESPONSE`)
2. Match date: `([0-9]{4}-[0-9]{2}-[0-9]{2}[T\\s]?[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}(\\+[0-9]{2}:[0-9]{2})?)`
3. Matched date groups: `1`
4. Match value (e.g., number after #): `#([0-9]{1,})`
5. Matched value groups: `1`
6. (Optional) Additional RegEx (leave empty in this example)

    ![End match][5]  
    *Configure the end match for correlation.*

7. Warning Time-Span: Enter the allowed time before a Warning alert (e.g., `0.00:10:00`)
8. Error Time-Span: Enter the allowed time before an Error alert (e.g., `0.00:30:00`)

>[!INFO]
>Set the time-span format as **days.hours:minutes:seconds** (e.g., `0.00:10:00` for ten minutes).

## :fa-forward-step: Step 5: Set the time-related options

Choose which files to include in monitoring:

1. Leave the Clear Date Time field empty (populated by the system when clearing previous problems)
2. Select the time option (`Modified after clear date-time`)

![Timed options][10]  
*Example of the 'Time options' tab.*

### :fa-save: Save

Click '**Save**' or '**Save and close**' to persist your changes. The new settings and thresholds are evaluated on the next synchronization cycle.  
![Save and Close buttons][png_SaveAndClose]  
*Save or save and close to apply your configuration.*

>[!NOTE]
>The delay in presenting the new evaluated state depends on the monitoring agent's synchronization interval  

**Save and close**: Save and close the dialog.
**Cancel**: Close the dialog without saving changes.

## :fa-forward-step: Step 6: Configure the Monitor View

Add the named [Resource][Resources] to a [Monitor View][Monitor Views] for centralized visibility and management.

* Follow the '[Add or manage Monitor View][]' user guide.

![Errors detected][6]  
*Example of a [Monitor View][Monitor Views] with errors detected in correlated log files.*

Review error details by clicking the **Actions** button, then [Error Report][Error Report on Managing Correlated Events].  
![Show Error Report Action][7]  
*Access the Error Report for detailed insights.*

A modal displays all log files where an error is still active (**>** last clear date-time).  
![Error Report][8]  
*Error Report modal with active issues.*

Expand a row for additional information.  
![Details][9]  
*Correlation may span multiple files!*  

>[!TIP]
>You can ignore old errors by clicking [Clear Errors][Clear Errors on Managing Correlated Events] in the **Actions** menu. The [Resource][Resources] returns to **OK** state until a new entry matches the configuration.

____

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

* [How to monitor file content][FileContent]  
* [How to monitor the IIS (W3SVC) log files][IISLogFileMonitoring]  

## :fa-link-horizontal: Related Topics

:Nodinite: [File Monitoring Agent][]

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/CE/CorrelatedEventsTab.png
[2]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/Correlation/GeneralTab.png
[3]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/Correlation/PathTab.png
[4]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/Correlation/StartMatchTab.png
[5]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/Correlation/EndMatchTab.png
[6]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/Correlation/ErrorsDetected.png
[7]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/Correlation/ActionsErrorReport.png
[8]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/Correlation/ErrorReport.png
[9]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/Correlation/Details.png
[10]:{ndm}/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/Correlation/TimeOptionsTab.png

[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.md
[Clear Errors on Managing Correlated Events]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Features/Managing%20Correlated%20Events.md#fa-broom-clear-errors
[Error Report on Managing Correlated Events]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Features/Managing%20Correlated%20Events.md#fa-circle-info-error-report
[File Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/File%20Folder/Overview.md
[FileContent]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Troubleshooting/How%20to%20monitor%20file%20content.md
[IISLogFileMonitoring]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Troubleshooting/How%20to%20monitor%20the%20IIS%20(W3SVC)%20log%20files.md
[Log File Parser Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Overview.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[png_SaveAndClose]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/SaveAndClose.png
[Prerequisites for Log File Parser Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Log%20File%20Parser/Getting%20started/1.%20Prerequisites.md
[RegEx]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Formula/Extract/regex.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md