Automated Forensics & Remediation
Rule-based workflows that collect diagnostics and run remedial actions when anomalies occur.
Automated Forensics & Remedial Actions#
HEAL's automation module executes rule-based workflows to collect diagnostic information and perform remedial actions when anomalies are detected — reducing mean time to resolution.
Capabilities#
| Feature | Description |
|---|---|
| Automated Forensics | Executes workflows that collect diagnostic information relevant to an alert — thread dumps, heap snapshots, CPU/memory breakdown, system state |
| Remedial Actions | Triggers automated workflows that perform restoration or remedial actions to address performance issues as they occur |
How It Works#
- Alert generated — HEAL detects a threshold breach, anomaly, or critical event
- Workflow triggered — The alert triggers a pre-configured automation workflow
- Diagnostic collection — The workflow collects forensic data from the affected system
- Remedial action (optional) — If configured, the workflow executes corrective actions
- Results stored — Forensic data and action results are stored for analysis
Automated Forensics#
When an alert fires, HEAL can automatically capture the system state for post-incident analysis:
Forensic Data Captured#
| Data Type | What's Collected | Use Case |
|---|---|---|
| Thread Dumps | Complete JVM thread dump at the time of the anomaly | Identify deadlocks, blocked threads, high CPU threads |
| Heap Snapshots | JVM heap memory snapshot | Identify memory leaks and large object allocation |
| CPU Breakdown | Per-process CPU utilization | Identify runaway processes consuming resources |
| Memory Breakdown | Per-process memory utilization | Identify memory-hungry processes |
| Network State | Active connections, listening ports, network stats | Identify connection issues or port exhaustion |
| Disk I/O | Disk read/write rates and latency | Identify storage bottlenecks |
| System Logs | Relevant log entries around the time of the anomaly | Contextual error messages and warnings |
Forensic Agent#
The Forensic Agent runs on the target server and executes the data collection workflows. It is triggered automatically by the HEAL platform when an anomaly is detected.
For deployment and agent-level guidance, use the Forensic Agent section under Install & Upgrade.
Production safeguard
Remedial actions run only when an authorized administrator has configured an allowlisted workflow and the deployment policy permits it. Validate permissions, target scope, approval requirements, timeouts, rollback behavior, and audit logging in a non-production environment before enabling execution in production.
Remedial Actions#
HEAL can execute automated corrective actions in response to specific alerts:
Supported Action Types#
| Action Type | Description | Example |
|---|---|---|
| Service Restart | Restart a service or application component | Restart Tomcat when it becomes unresponsive |
| Script Execution | Run a custom script on the target server | Execute a cleanup script when disk space is low |
| Configuration Rollback | Revert a configuration change | Roll back a config file that caused performance degradation |
| Resource Cleanup | Free up system resources | Clear temp files, flush caches |
| Notification | Send additional notifications or escalations | Page the on-call team for critical issues |
Configuring Remedial Workflows#
Remedial actions are configured as rule-based workflows in the Control Center. Each workflow defines a trigger condition, an ordered list of actions, action-specific parameters, and optional manual approval requirements.
Use Forensics to manage forensic definitions and Configuring Forensic Action Instance Wise to scope approved actions to instances.
Viewing Forensic Data#
For the reader workflow, see Viewing Forensics.
Forensic data includes thread dumps, memory breakdowns, CPU utilization, and a timeline of events and actions taken. It supports root cause analysis through before/after snapshots, correlation with KPI changes, and an audit trail of automated actions.