Kothapalli Venkata Avinash
11/12/2025, 12:44 PMkapa.ai
11/12/2025, 12:44 PMGCS_LOG_BUCKET to define the GCS bucket for storing logs - S3 (Amazon S3): Use S3_BUCKET, S3_REGION, S3_AWS_KEY, and S3_AWS_SECRET to configure S3 log storage - MinIO: Use S3_MINIO_ENDPOINT and set S3_PATH_STYLE_ACCESS=true for MinIO-based log storage ## Default Local Storage When using Kubernetes, as mentioned in a [forum discussion](https://discuss.airbyte.io/t/1944), MinIO is used for logs storage by default in the local deployment setup. ## Important Configuration Note A [forum post](https://discuss.airbyte.io/t/3911) highlights that when configuring GCS for logs, you need to set specific environment variables on both worker and server pods: - WORKER_LOGS_STORAGE_TYPE=GCS - STATE_STORAGE_GCS_APPLICATION_CREDENTIALS - STATE_STORAGE_GCS_BUCKET_NAME The post also notes that in some versions (0.40.30+), these variables needed to be added to the server pod as well to resolve configuration issues. For more detailed information about configuring state and logging storage, see the [State and Logging Storage documentation](https://docs.airbyte.com/platform/deploying-airbyte/integrations/storage).Kothapalli Venkata Avinash
11/12/2025, 12:47 PMKothapalli Venkata Avinash
11/12/2025, 12:53 PMkapa.ai
11/12/2025, 12:53 PMkapa.ai
11/12/2025, 12:53 PM/ and /job-logging) is actually the expected behavior when Airbyte is configured to use S3 for log storage. ## Expected Directory Structure According to a [GitHub issue about bucket prefix overrides](https://github.com/airbytehq/airbyte/issues/63771), Airbyte uses hardcoded prefixes for different types of documents stored in S3: - Logs: job-logging (without leading slash) - State: /state - Workload Output: /workload/output - Activity Payloads: /activity-payloads - Audit Logs: audit-logging The issue notes that "job logs should not have a leading slash to ensure that GCS/Azure can find these files in blob storage." ## What You Should See When properly configured for S3 log storage, you should see: 1. A job-logging directory containing your sync logs 2. Other directories like /state, /workload/output, etc., depending on your Airbyte activities ## Troubleshooting If you're only seeing the root directory and job-logging but no actual log files inside, this could indicate a configuration issue. A [forum discussion](https://discuss.airbyte.io/t/1616) mentions that when S3 logs aren't properly configured, Airbyte may fall back to writing logs to the local MinIO instance instead of your S3 bucket. To verify your configuration is working correctly: 1. Check if there are actual log files inside the job-logging directory in your S3 bucket 2. Ensure your S3 credentials have both read and write permissions 3. Verify that the environment variables (S3_BUCKET, S3_REGION, S3_AWS_KEY, S3_AWS_SECRET) are correctly set If you're not seeing log files being created in S3, you may want to check your MinIO instance to see if logs are being written there instead.Kothapalli Venkata Avinash
11/12/2025, 1:00 PMkapa.ai
11/12/2025, 1:00 PMkapa.ai
11/12/2025, 1:00 PMbash kubectl exec -it <pod name> -n <namespace pod is in> -c main bash 2. Copy log files to your local machine: bash kubectl cp <namespace pods are in>/<pod-name>:/config/destination_catalog.json ./catalog.json ## Server Log Storage Location Based on the previous discussion in our conversation, server logs are stored in the configured S3 bucket under the job-logging directory (or in MinIO if S3 isn't properly configured). However, the knowledge sources indicate that a [forum discussion](https://discuss.airbyte.io/t/1222) mentions that users can request "server/scheduler logs" when troubleshooting issues, suggesting these are accessible through the Kubernetes pod logs. ## Additional Options You can also use standard Kubernetes logging commands: - kubectl logs <server-pod-name> -n <namespace> to view logs directly - Check your configured S3 bucket under the job-logging directory for stored logs The knowledge sources don't explicitly detail a specific path within the server pod where logs are stored locally, but they confirm that logs are ultimately written to your configured external storage (S3, GCS, or MinIO).