<@U04S8PLJWMT> We have Airbyte OSS deployed on an ...
# ask-ai
s
@kapa.ai We have Airbyte OSS deployed on an on-prem kubernetes cluster. We use DataDog as an observability tool. Presumably the logs for Airbyte are accessible somewhere in DataDog. How would I find them? I'm able to see activity in the Live Tail, but I don't know how to find a log explicitly.
k
Based on the available knowledge sources, Airbyte OSS logs are generated for each sync and can be accessed in several ways: - In the Airbyte UI: You can view logs for each sync by navigating to the connection's Job History tab, clicking the three dots next to a sync, and selecting "View logs." You can also download logs from the UI for more comprehensive searching or sharing. This is the primary method for browsing logs directly from Airbyte itself, not from DataDog [[Browsing logs](https://docs.airbyte.com/platform/next/operator-guides/browsing-output-logs)]. - On the Host (Kubernetes/Docker): For Airbyte Open Source, logs are also available in the Docker volumes or Kubernetes pod logs where Airbyte server and workers are running. You can use
kubectl logs
to access these logs directly from your Kubernetes cluster [[Browsing logs](https://docs.airbyte.com/platform/next/operator-guides/browsing-output-logs)]. - DataDog Integration: The knowledge sources indicate that Airbyte’s direct Datadog integration is only officially supported for legacy Docker deployments, not for Kubernetes or abctl at this time. There is mention of ongoing work to improve this for Kubernetes, potentially as an enterprise feature in the future. For now, metrics (not logs) can be sent to DataDog using OpenTelemetry, but Airbyte does not natively send logs to DataDog in OSS Kubernetes deployments [[Monitoring Airbyte](https://docs.airbyte.com/platform/next/operator-guides/collecting-metrics)]. - Live Tail in DataDog: If you are seeing activity in DataDog’s Live Tail, it means your cluster or log forwarder (e.g., a sidecar or DaemonSet like the Datadog Agent) is capturing container logs and sending them to DataDog. However, the knowledge sources do not provide specific instructions on how Airbyte log streams are named or tagged in DataDog, nor how to search for a specific log entry. This setup is dependent on your Kubernetes logging configuration and how the Datadog Agent is deployed and configured to collect logs from your Airbyte pods. Summary: You can reliably access Airbyte logs via the Airbyte UI or directly from your Kubernetes pods. While you can see logs in DataDog’s Live Tail if your cluster is configured to forward logs, the knowledge sources do not provide details on how to search for or filter Airbyte logs explicitly in DataDog. You may need to consult your internal logging configuration or DataDog documentation for specifics on log tagging and searching. If you need to find a specific log in DataDog, ensure your log forwarder is tagging Airbyte logs with identifiable labels (such as pod name, container name, or app label), and use those tags in your DataDog search queries. Unfortunately, the Airbyte documentation does not provide further guidance on this topic.
s
@kapa.ai Our organization has asked if it's possible to convert the Airbyte logs to JSON format. If the logs are in JSON, then we can index them and make them available in DataDog. Is there a setting we can configure for converting the logs to JSON?
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not explicitly mention a setting in Airbyte OSS or its Kubernetes deployment that allows you to configure the log output format (such as switching to JSON logs). The documentation and forum posts confirm that Airbyte logs are available via stdout and can be collected by log forwarders, but they do not specify an option to change the log format to JSON natively [[K8S Production reliable deployement](https://discuss.airbyte.io/t/346)]. However, your Docker Compose example does show the use of the
json-file
logging driver for Docker containers, which outputs logs in JSON format at the container level. In Kubernetes, log format is typically determined by the application or by the logging agent (such as the Datadog Agent or Fluent Bit) that collects and forwards logs from stdout. If Airbyte itself does not emit logs in JSON, you may need to use a log processor to convert them before indexing in DataDog. In summary: There is no documented Airbyte setting to output logs in JSON format directly. You may need to rely on your logging agent or an external processor to convert logs to JSON before sending them to DataDog. If this feature is critical, you may want to submit a feature request to the Airbyte team or check for updates in future releases.