System Monitoring
System Monitoring collects metrics and logs about your sources, backends, and endpoints. Dedicated system sources are provisioned to capture such operational data:
system.metrics- OpenTelemetry metrics for ingestion, queries, and egresssystem.logs- Application logs for your sources and backends
System sources behave like regular sources. Query, search, and monitor them with standard Logflare tools. They appear as favorites by default.
Enabling System Monitoring
- Navigate to Account Settings at
/account/edit - Find the "System monitoring" section
- Check "Enable system monitoring"
- Click "Update account"
Logflare creates the three system sources and starts collecting data every 60 seconds. Disabling stops data collection immediately.
System Sources
system.metrics
Contains OpenTelemetry metrics as structured events. Each metric includes:
event_message- Metric nameattributes- Key-value pairs with metric dimensions and valuestimestamp- When the metric was recorded
Metrics are collected every 60 seconds.
system.logs
Contains application logs related to your sources, backends, and endpoints.
Metrics Collected
| Metric | Description | Metadata |
|---|---|---|
logflare.backends.ingest.ingested_bytes | Total bytes ingested per source. Tracks storage consumption. | source_id, backend_id, custom labels |
logflare.backends.ingest.ingested_count | Count of events ingested per source. Tracks ingestion volume. | source_id, backend_id, custom labels |
logflare.endpoints.query.total_bytes_processed | Bytes processed when executing endpoint queries. Tracks query costs. | endpoint_id, custom labels |
logflare.backends.ingest.egress.request_bytes | Bytes sent to external HTTP endpoints and webhooks. Tracks egress bandwidth. | Backend-specific metadata |
Custom Labels
Add dimensions to metrics through labels on sources and endpoints. Labels appear in the attributes field of metric events.
For endpoint labelling behavior, see Query Tagging with Labels.
Format
Use comma-separated key-value pairs:
environment=production,region=us-east,team=backend
Ingest-time Field Extraction
Extract values from event metadata using field paths:
label_name=field.path
label_name=m.field.path
Examples:
environment=m.envextractsmetadata.envuser_type=m.user.typeextractsmetadata.user.typeregion=regionextracts top-levelregion
Only string values are extracted. Nested maps and lists are excluded.