Skip to content

Log Monitoring Overview

How HEAL collects, processes, and analyzes log data from supported sources.

3 min read Updated SS

HEAL provides centralized monitoring and analysis, subject to collection, processing, and indexing latency, of log files. It collects and forwards log data from various sources — including application, system, and network logs — for centralized analysis, alerting, and correlation with metrics and traces.


Architecture#

HEAL's log monitoring architecture uses a multi-stage pipeline for log collection, processing, storage, and visualization.

Log Sources Fluentd · Filebeat · LFA Logstash Pipelines load-balanced via HAProxy OpenSearch log storage & search HEAL UI Grafana · Dashboards


Workflow#

  1. Log Collection: Fluentd (in pods) and Filebeat (in VMs) collect log data from various sources. HEAL's own LFA (Log Forwarding Agent) can also be used.
  2. Log Aggregation: Collected logs are sent to HAProxy, which load balances the incoming log data across multiple Logstash pipelines.
  3. Log Processing: Logstash pipelines parse and enrich the log data — filtering, transforming, and preparing the data for storage in OpenSearch.
  4. Log Storage: Processed log data is stored in OpenSearch, which provides indexing and search capabilities.
  5. Log Visualization: Users can visualize log data using Grafana or OpenSearch Dashboards.
  6. Log Metrics Extraction: The Log Metric Connector queries log data in OpenSearch and extracts relevant metrics, which are sent to the HEAL Data Receiver and stored in the Metrics Zone of OpenSearch.

Components#

Log Collectors#

Component Where It Runs Description
Fluentd Kubernetes pods Collects logs from pods and pushes them through HAProxy to Logstash. High performance and flexible.
Filebeat VMs Lightweight log shipper. Monitors log files or directories and forwards to Logstash via HAProxy.
LFA (Log Forwarding Agent) VMs HEAL's own log forwarding agent. Java-based, supports third-party agents like Filebeat, Fluentd, and Rsyslog.

Processing & Routing#

Component Description
HAProxy Load balancer — distributes log data between log shippers and Logstash pipelines. Ensures efficient routing across multiple Logstash instances.
Logstash Pipelines Processes incoming log data — parses log events, transforms and enriches the data before forwarding to OpenSearch. Handles complex data transformation tasks.
Component Description
OpenSearch Open-source search engine (fork of Elasticsearch 7.10.2). Stores processed log data and provides querying and analysis. Industry-standard for log storage with powerful search capabilities.
OpenSearch Coordinator Nodes Manage distribution of incoming load to the correct zone and node.
OpenSearch cluster-manager / master-eligible nodes Maintain cluster health and state, oversee operations and configuration changes.
OpenSearch Data Nodes Store and retrieve log data, categorized into volume zones and storage types.

Visualization & Metrics#

Component Description
Grafana / OpenSearch Dashboards Visualization dashboards for log data. Create custom dashboards to monitor key metrics and visualize trends.
Log Metric Connector Queries log data from OpenSearch, extracts relevant metrics, and pushes them to the HEAL Data Receiver for storage in the Metrics Zone.
HEAL Data Receiver Receives log metrics and stores them in a separate index in OpenSearch, separating log metrics from raw log data for efficient querying.

Storage Zones#

HEAL uses tiered storage to efficiently manage log data based on volume and access frequency:

Zone Retention Storage Type Purpose
Hot Example: most recent 2 days; configurable SSD / fast storage Most recent logs — optimized for the lowest configured query latency
Warm Example: day 2 through day 3; configurable Regular hard drives Slightly older logs — available for querying where lower query performance is acceptable
Cold Example: beyond day 3; configurable Archive storage Long-term retention — archived for historical analysis and compliance

Configurable Retention

The retention periods for each zone are configurable based on your organization's storage capacity and compliance requirements.


OpenSearch Containerization#

HEAL creates multiple containers for OpenSearch, categorized based on log volume:

Container Type Description
High-Volume Containers dedicated to handling logs with high data throughput
Medium-Volume Containers optimized for logs with moderate data volumes
Low-Volume Containers configured for logs with lower data volumes

This categorization ensures that high-volume log sources do not impact the performance of lower-volume log queries.