Monitoring Correlated Events
Section titled “ Monitoring Correlated Events”Technical guide to ACK/NAK transaction correlation monitoring—configure start/end patterns, correlation identifiers, timeout thresholds, and transaction state tracking across text-based log files.
What is Correlated Event Monitoring?
Section titled “What is Correlated Event Monitoring?”Correlated event monitoring tracks business transaction sequences by matching start patterns with corresponding end patterns using extracted correlation identifiers. When a start event is detected but no matching end event occurs within the configured timeout, the Log File Parser Monitoring Agent triggers a warning or error alert.
Correlation Monitoring Flow
Section titled “Correlation Monitoring Flow”Key mechanism: Events can span multiple log files (incoming.log → outgoing.log), with correlation identifiers linking start and end events regardless of file location.
When to Use This Monitoring Type
Section titled “When to Use This Monitoring Type”Use correlated event monitoring for transaction sequence tracking scenarios:
- Business workflows - Order processing, payment confirmations, approval workflows requiring completion verification
- Integration patterns - API request/response pairs, message queue acknowledgments, data synchronization completion
- Process monitoring - Batch job start/finish, file processing pipelines, multi-step operations
- SLA compliance - Track transaction processing times against service level agreements
For independent event detection without correlation, use Monitoring Content Files instead.
Correlation Mechanics
Section titled “ Correlation Mechanics”Transaction Lifecycle Tracking
Section titled “Transaction Lifecycle Tracking”- Start event detection - Agent matches line against start pattern RegEx
- Identifier extraction - Capture groups extract correlation ID (e.g., OrderId, TransactionId)
- Transaction registration - Store transaction with identifier, timestamp, source file position
- End event matching - Subsequent lines tested against end pattern with same correlation ID
- Timeout evaluation - Transactions without end events checked against warning/error thresholds
- State determination - Resource state updated based on incomplete transaction count
- Alert generation - State changes trigger notifications via Monitor Views and Alarm Plugins
Pattern Configuration Syntax
Section titled “Pattern Configuration Syntax”Start Pattern:
OrderReceived.*OrderId:(\d+)- Matches:
2025-01-29 10:15:00 OrderReceived for OrderId:12345 - Extracts:
12345(captured via parentheses)
End Pattern:
OrderShipped.*OrderId:$1$1references first capture group from start pattern- Matches:
2025-01-29 10:45:00 OrderShipped for OrderId:12345 - Correlation: Same OrderId (12345) links start and end events
Multi-file correlation:
- Start pattern in
incoming.log - End pattern in
outgoing.logor same file - Agent correlates by identifier across file boundaries
Timeout Threshold Configuration
Section titled “Timeout Threshold Configuration”- ⚠️ Warning threshold - Time elapsed before transaction generates Warning state (e.g., 15 minutes)
- ❌ Error threshold - Time elapsed before transaction generates Error state (e.g., 30 minutes)
- Time calculation - Measured from start event timestamp to current time
- Dynamic adjustment - Thresholds modifiable via Edit Thresholds without agent restart
Example SLA configuration:
Warning: 2 hours Error: 24 hours
Payment gateway transactions: Warning: 30 seconds Error: 5 minutesFile Selection and Correlation Scope
Section titled “File Selection and Correlation Scope”- Single-file correlation - Start and end patterns both in same log file
- Multi-file correlation - Start pattern in File A, end pattern in File B
- Wildcard file patterns -
payment_*.loghandles daily rotation automatically - Network paths - UNC paths (
\\server\share\logs), SMB shares, local folders - Time-based filtering - Control which files are included in correlation monitoring based on file timestamps:
- Modified/Created after Clear Date Time - Monitor only files modified or created after specified timestamp
- Modified/Created after File time span - Monitor files within relative time window (e.g., last 24 hours)
- Last Modified/Last Created, one file only - Monitor only the most recently modified or created file
- Evaluate all - Monitor all matching files regardless of timestamp
Time option use cases:
- Active transaction logs only - Use "Modified after Clear Date Time" to ignore archived transaction files
- Rolling correlation window - Use "Modified after File time span" for 24-hour transaction monitoring
- Current transaction file - Use "Last Modified, one file only" when correlation spans single active log file

Example: Correlated event configurations tracking business transactions in a Monitor View
Monitor Configuration Options
Section titled “ Monitor Configuration Options”Nodinite presents each Correlated Events Configuration as a Resource, evaluated continuously for transaction completion:
- Organize by workflow - Group configurations by Application (Order Processing, Payment Gateway, Customer Service)
- Categorize by type - All correlation configurations appear under 'Log File Event' Category
- Scale monitoring - Deploy multiple agents across transaction processing servers
- Apply different SLAs - Use varied timeout thresholds for different transaction types

Example: Correlated Events configurations organized by Category
Configuration Elements
Section titled “Configuration Elements”- Display name comes from your Correlated Events Configuration settings
- Application association links transaction monitoring to business systems
- Start/End patterns define what constitutes transaction begin and completion events
- Timeout thresholds control when warnings and errors are triggered for incomplete transactions
Resource State Evaluation
Section titled “Resource State Evaluation”Each Correlated Events Configuration (Resource) maintains one of these states based on incomplete transaction evaluation:
| State | Condition | Description |
|---|---|---|
| 🚫 Unavailable | File access failed | Agent cannot read files (network issue, permissions, path not found) |
| ❌ Error | Timeout exceeded | One or more transactions exceed error threshold without end event |
| ⚠️ Warning | Approaching timeout | One or more transactions exceed warning threshold but not error threshold |
| ✅ OK | Transactions complete | All start events have matching end events within configured timeouts |

Example: Correlated events resource showing transaction monitoring state
Override default state evaluation using the Expected State feature (e.g., expect Warning state during batch processing windows).
Remote Actions for Incomplete Transactions
Section titled “ Remote Actions for Incomplete Transactions”When incomplete transactions are detected or timeout thresholds require adjustment, perform these Remote Actions from the Web Client:

Example: Remote actions for incomplete transactions
- Edit Thresholds - Adjust warning/error timeout values without agent restart to match changing SLA requirements
- Error Report - View incomplete transaction details, correlation IDs, timeout status, and file context
- Clear Errors - Reset resource state after resolving stuck transactions or post-maintenance cleanup
- Show Log Files - Display monitored transaction log files, download for offline analysis
All actions require appropriate Role permissions and are logged to the Audit Trail.
Correlation Pattern Examples
Section titled “ Correlation Pattern Examples”Order Processing Workflow
Section titled “Order Processing Workflow”Start Pattern: OrderReceived.*OrderId:(\d+)End Pattern: OrderShipped.*OrderId:$1Warning: 2 hoursError: 24 hoursDetects orders that aren't shipped within SLA.
Payment Transaction Tracking
Section titled “Payment Transaction Tracking”Start Pattern: PaymentInitiated.*TransactionId:([A-Z0-9]+)End Pattern: Payment(Confirmed|Failed).*TransactionId:$1Warning: 30 secondsError: 5 minutesDetects stuck payment transactions, matches both success and failure end events.
API Request/Response Monitoring
Section titled “API Request/Response Monitoring”Start Pattern: APIRequest.*RequestId:([a-f0-9-]+).*POST /api/ordersEnd Pattern: APIResponse.*RequestId:$1.*(200|201)Warning: 10 secondsError: 30 secondsEnsures API requests receive successful responses within SLA.
Batch Job Processing
Section titled “Batch Job Processing”Start Pattern: BatchJobStarted.*JobId:([A-Z0-9]+).*daily-reconciliationEnd Pattern: BatchJob(Completed|Failed).*JobId:$1Warning: 3 hoursError: 4 hoursMonitors overnight batch job completion.
Supported Correlation Scenarios
Section titled “ Supported Correlation Scenarios”File Organization Patterns
Section titled “File Organization Patterns”- Single file - Start and end events in same log file (common for application logs)
- Multi-file - Start event in
incoming.log, end event inoutgoing.log(integration scenarios) - Wildcard rotation -
payment_*.loghandles daily/hourly log rotation - Mixed paths - Start event on local file, end event on SMB share (distributed systems)
Identifier Patterns
Section titled “Identifier Patterns”- Numeric IDs - Order numbers, transaction IDs:
(\d+) - Alphanumeric - Customer references, session IDs:
([A-Z0-9]+) - GUIDs - Transaction GUIDs:
([a-f0-9-]{36}) - Composite keys - Multiple capture groups:
Customer:(\w+).*Order:(\d+)
End Event Variations
Section titled “End Event Variations”- Success only -
OrderCompleted.*OrderId:$1 - Success or failure -
Order(Completed | Failed).*OrderId:$1 - Multiple outcomes -
(Success | Warning | Error).*TransactionId:$1
Next Steps
Section titled “ Next Steps”Configuration and setup:
Configuration - Correlated Events - Complete setup guide with pattern syntax and timeout configuration
Prerequisites - File permissions, network access, agent requirements
Install Agent - Agent installation and Core Services registration
Management and operations:
Managing Correlated Events - Remote actions for incomplete transactions (Edit, Error Report, Clear, Show Files)
Monitoring Content Files - Alternative monitoring type for independent event detection
Implementation examples:
How to Monitor Correlated Events - Step-by-step configuration walkthrough
How to Monitor Content Files - Step-by-step configuration walkthrough
Related Topics
Section titled “ Related Topics” Managing Content Files - Content management and investigation actions
Monitoring Content Files - Pattern-based content detection and alerting
Configuration - Correlated Events - Complete setup and pattern configuration
Troubleshooting Correlation Monitoring - Common issues and resolution guides