---
title: "How to Monitor Nodinite Diagnostic Log Files: Step-by-Step Guide"
description: Learn how to monitor Nodinite diagnostic log files and receive alerts for critical issues. This guide covers step-by-step configuration, RegEx filters, alerting, and diagnostics for proactive monitoring and rapid troubleshooting.
---

# <i class="fal fa-edit" aria-hidden="true"></i> How to monitor Nodinite diagnostic log files  

This guide shows you how to monitor <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> diagnostic log files using 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][]. You will learn how to configure monitoring, set up [RegEx][] filters, and leverage <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>'s alerting and diagnostics to proactively detect and resolve issues.  

**On this page, you will learn how to:**  

✅Set up monitoring for <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> diagnostic log files  
✅Use RegEx filters to target error and fatal log entries  
✅Configure alerts for critical issues in your <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> logs  
✅Access diagnostics and manage log file resources  

>This article assumes you have installed all the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> binaries in the default folders.  

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

Ensure you comply with the [prerequisites][Prerequisites for Log File Parser Monitoring Agent] and install 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 **Content File** tab.  
![Content File tab][1]  
*Content File tab in <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.*  

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][2]  
*General tab for configuration details.*  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 2: Set the monitor path  

Next, enter the root path to where the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> binaries are located (the default is, `C:\Program Files\Nodinite\`).  

1. Enter the path  
2. Enter the RegEx-based filter (`(^diagnostic.log.json | ^diagnostic.log.json.[1-5])$`)  

![Path tab][3]  
*Path tab for specifying log file location and filter.*  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 3: Set the start match  

Next, enter the start match configuration.  

1. **'Line contains'** (what error states are we looking for? In this case Error and Fatal)  

``` regex  
(ERROR|FATAL)  
```  

![Match tab][4]  
*Match tab for RegEx error state configuration.*  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 4: Set the time-related options  

1. Leave the Clear Date Time field empty for now. This field is populated by the system when an end-user is clearing previous problems.  
2. Select the time option (`Modified after Clear Date Time`)  
3. Check the **'Lines have a DateTime'** checkbox  
4. **'Match date'** (the date, in this case, the format is 2023-09-21T10:48:22.9112818+02:00)  

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

>The date is required if you want to ignore previous errors. You can ignore previous errors by clicking the **Clear** menu item in the Actions button on the [Resource][Resources].  

![Warning if previous lines in the text files are ignored][10]  
*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'**: `1`  

![Time options tab][5]  
*Time options tab for date/time configuration.*  

### <i class="fal fa-save" aria-hidden="true"></i> Save  

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][png_SaveAndClose]  
*Here's an example of the **Save** options.*  

<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 dialogue.  
**Cancel**, closes the dialogue without saving any changes.  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 5: Configure the Monitor View  

Next, add the named  [Resource][Resources] to a [Monitor View][Monitor Views].  

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

![Errors detected][6]  
*Here's an example of a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Monitor View][Monitor Views] with errors detected in any <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> diagnostic log file*  

You can further review the details about the errors by clicking on the **Actions** button, and then clicking on the **Error report** menu item.  
![Error report Action menu item][7]  
*Error report action in Monitor View.*  

This action opens a new modal with a list of all <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> diagnostic log files where a match exists (**>** last clear date-time).  
![Error report][8]  
*Error report modal with active errors.*  

Additional information is available if you expand the row.  
![Details][9]  
*Expanded error details in the Error Report.*  
  
<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 on the <strong>Clear Errors</strong> menu item in the <strong>Actions</strong> button. The <a href="https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/">Resource</a> is then in the <strong>OK</strong> state until an entry matching the configuration is later found.</p></div>
</aside>

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 6: Manage Diagnostic Log Files  

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][11]  
*Show Log File(s) menu item for diagnostics.*  

Next, a screen presents including a table with all the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> diagnostics log files.  
![Log Files][12]  
*Diagnostics log files table.*  

You can perform the following Actions on the diagnostic files:  

* <i class="fal fa-download" aria-hidden="true"></i> [Download][Managing Content Files - Download Log Files]  
* <i class="fal fa-trash-can" aria-hidden="true"></i> [Delete][Managing Content Files - Delete Log File]  
  ![Action Manage Log File][13]  
  *Actions on Log File entry.*

____  

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

* [How to monitor correlated events][Correlation]  
* [How to monitor file content][FileContent]  

## <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/CF/ContentFileTab.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/NN/GeneralTab.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/NN/PathTab.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/NN/MatchTab.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/NN/TimeOptionsTab.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/NN/ErrorsDetected.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/ActionsShowErrorReport.png
[8]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/NN/ErrorReport.png
[9]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/NN/Details.png
[10]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/IIS/ClearWarningBadgeContentFile.png
[11]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/ActionShowLogFiles.png
[12]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/Troubleshooting/NN/LogFiles.png
[13]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogFileParser/ActionManageLogFile.png

[Add or manage Monitor View]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/add-or-manage-monitor-view/
[Correlation]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/troubleshooting/how-to-monitor-correlated-events/
[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/
[Log File Parser Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/overview/
[Managing Content Files - Delete Log File]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/features/managing-content-files/#fa-trash-can-delete-log-file
[Managing Content Files - Download Log Files]:https://docs.nodinite.com/logging-and-monitoring/log-file-parser/features/managing-content-files/#fa-download-download-log-file
[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/