Todd Matthews
11/17/2025, 8:56 PMkapa.ai
11/17/2025, 8:56 PMTEMPORAL_HISTORY_RETENTION_IN_DAYS. This variable defines the retention period (in days) for job history in Temporal, and by default, it is set to 30 days. You can adjust this value according to your requirements. For example, to retain logs for only 7 days, set: TEMPORAL_HISTORY_RETENTION_IN_DAYS=7 How you set this variable depends on your deployment method: - Docker: Add the variable to your .env file or Docker Compose environment section. - Kubernetes/Helm: Set it in your values.yaml under extraEnvs or as a global environment variable, depending on your chart version. This setting controls how long job history is retained, which impacts log cleanup. However, the documentation does not explicitly state that this variable directly controls S3 log retention, but it is the main configuration for Temporal job history retention in Airbyte, which typically includes logs stored in your configured storage backend (such as S3) [Configuring Airbyte - Data Retention](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#data-retention). If you need more granular control specifically for S3 object lifecycle (such as automatic deletion of log files after a certain period), you may need to configure an S3 bucket lifecycle policy directly in AWS, as Airbyte's built-in retention setting manages job history, not S3 object lifecycle rules. In summary: - Set TEMPORAL_HISTORY_RETENTION_IN_DAYS to control Airbyte's job history retention. - For S3-specific log file retention, use AWS S3 lifecycle policies in addition to Airbyte's settings if needed. For more details, see the official documentation: [Configuring Airbyte - Data Retention](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#data-retention).Todd Matthews
11/17/2025, 9:39 PMkapa.ai
11/17/2025, 9:39 PMkapa.ai
11/17/2025, 9:39 PMTEMPORAL_HISTORY_RETENTION_IN_DAYS environment variable on your Airbyte deployment—regardless of whether you are using Docker, Kubernetes, or Helm. This variable is supported across deployment types and controls how long job history (including logs) is retained by Airbyte. The default is 30 days, but you can adjust it as needed. - Docker deployments: Set it in your .env file or in the environment section of your Docker Compose file. - Kubernetes/Helm deployments: Set it in your values.yaml file, typically under extraEnvs or as a global environment variable, depending on your chart version [Configuring Airbyte - Data Retention](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#data-retention). This applies to all standard Airbyte deployments. If you are using a custom or non-standard deployment, the same variable should be set in the environment where Airbyte services run. If you need more specific instructions for your deployment type, let me know which one you are using!Todd Matthews
11/19/2025, 3:30 PMsp33dy
11/19/2025, 3:31 PM