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.
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 does not include a log visualization UI. Connect your preferred tool to Elasticsearch:
Vector is the log collection agent in APC 1.0.
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:
Find task failures:
Search specific Dag:
Filter by time range:
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: