Astro Private Cloud (APC) provides centralized logging through Vector and Elasticsearch. Task logs, platform logs, and audit logs are collected by Vector and indexed in Elasticsearch for searchability and troubleshooting.
This page covers the Vector DaemonSet pipeline that ships task and platform logs. The APC API control plane audit events have a separate Vector sidecar with its own configuration and supported sinks. See the APC API audit logging overview.
Vector runs as a DaemonSet collecting logs from all Pods. Logs are shipped to Elasticsearch for storage and indexing. For log visualization, you can connect your own tools (Kibana, Grafana, OpenSearch Dashboards, etc.) to query Elasticsearch.
Task logs are accessible directly in the Airflow webserver UI:
Query logs directly via Elasticsearch:
APC doesn’t include a log visualization UI. Connect your preferred tool to Elasticsearch:
Vector is the log collection agent in APC.
Add custom transforms to parse Airflow log formats:
APC supports either DaemonSet or sidecar logging on a data plane cluster, but not both simultaneously. To use sidecar logging, you must first disable the Vector DaemonSet, then enable the sidecar:
Configure log retention:
Send logs to your own Elasticsearch cluster:
Archive logs to object storage:
Configure Vector to send to any destination:
Configure log groomer to manage disk usage:
Check Vector is running:
Check Elasticsearch health:
Verify Vector logs:
Elasticsearch access is restricted to platform components. For external access, configure authentication:
Redact sensitive data before indexing: