<@U04S8PLJWMT> i want to see logs for my sync atte...
# replication-ask-ai
a
@kapa.ai i want to see logs for my sync attempts in linux terminal
k
Here are the ways to access Airbyte sync logs from the Linux terminal, depending on your setup: Docker (Open Source) You can browse logs stored in the
airbyte_workspace
Docker volume. First, identify your Job ID and Attempt ID from the Airbyte UI (e.g., job
9
, attempt
0
→ path
/data/9/0
). Open an interactive shell to browse the volume:
Copy code
docker run -it --rm --volume airbyte_workspace:/data busybox
ls /data/9/0/
Or run commands directly from your host shell:
Copy code
docker run -it --rm --volume airbyte_workspace:/data busybox ls /data/9/0
Read the log file:
Copy code
docker run -it --rm --volume airbyte_workspace:/data busybox cat /data/9/0/logs.log
Copy a file (e.g., catalog) to your local machine:
Copy code
docker cp airbyte-server:/tmp/workspace/9/0/catalog.json .
cat catalog.json
[Exploring Local Logs] Kubernetes If you're running Airbyte on Kubernetes, use
kubectl
instead: Exec into the relevant pod:
Copy code
kubectl exec -it <pod-name> -n <namespace> -c main bash
# Example:
kubectl exec -it destination-bigquery-worker-3607-0-chlle -n jobs -c main bash
Copy a file from the pod to your local machine:
Copy code
kubectl cp <namespace>/<pod-name>:/config/destination_catalog.json ./catalog.json
# Example:
kubectl cp jobs/normalization-worker-3605-0-sxtox:/config/destination_catalog.json ./catalog.json
cat ./catalog.json
[Browsing on Kubernetes] > Tip: When troubleshooting, search the logs for keywords like
Error
,
Exception
, or
Fail
to quickly find relevant issues. 👍 0 button 👎 0 button â„šī¸ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
a
any other ways