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

# <i class="fal fa-edit" aria-hidden="true"></i> How to automate monitoring of correlated events

Take control of your log file monitoring with <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:

* ✅ 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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*  

## <i class="fal fa-square-plus" aria-hidden="true"></i> Before you begin

Ensure you meet the [prerequisites][Prerequisites for Log File Parser Monitoring Agent] and have installed 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][].

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 1: Add a new monitoring configuration

To add a new monitoring entry, click the <i class="fal fa-square-plus" aria-hidden="true"></i> **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.*

## <i class="fal fa-forward-step" aria-hidden="true"></i> 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:

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

## <i class="fal fa-forward-step" aria-hidden="true"></i> 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.*

## <i class="fal fa-forward-step" aria-hidden="true"></i> 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`)

<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>Set the time-span format as <strong>days.hours:minutes:seconds</strong> (e.g., <code>0.00:10:00</code> for ten minutes).</p></div>
</aside>

## <i class="fal fa-forward-step" aria-hidden="true"></i> 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.*

### <i class="fal fa-save" aria-hidden="true"></i> 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.*

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>The delay in presenting the new evaluated state depends on the monitoring agent's synchronization interval</p></div>
</aside>

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

## <i class="fal fa-forward-step" aria-hidden="true"></i> 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!*  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>You can ignore old errors by clicking <a href="https://docs.nodinite.com/logging-and-monitoring/log-file-parser/features/managing-correlated-events/#fa-broom-clear-errors">Clear Errors</a> in the <strong>Actions</strong> menu. The <a href="https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/">Resource</a> returns to <strong>OK</strong> state until a new entry matches the configuration.</p></div>
</aside>

____

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

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

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

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [File Monitoring Agent][]

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

[Add or manage Monitor View]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/add-or-manage-monitor-view/
[Clear Errors on Managing Correlated Events]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/features/managing-correlated-events/#fa-broom-clear-errors
[Error Report on Managing Correlated Events]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/features/managing-correlated-events/#fa-circle-info-error-report
[File Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/file-folder/overview/
[FileContent]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/troubleshooting/how-to-monitor-file-content/
[IISLogFileMonitoring]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/troubleshooting/how-to-monitor-the-iis-w3svc-log-files/
[Log File Parser Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/overview/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[png_SaveAndClose]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/SQL/SaveAndClose.png
[Prerequisites for Log File Parser Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/getting-started/prerequisites/
[RegEx]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/formula/extract/regex/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/