Can I reduce the log retention on Minio?
# ask-ai
s
Can I reduce the log retention on Minio?
k
Based on the provided knowledge sources, there is no direct information about reducing log retention on Minio. However, you can manage the storage by manually deleting logs or increasing the storage space. ### Managing Log Storage on Minio 1. Manually Deleting Logs: If you are running Airbyte on Kubernetes, you can manually delete the logs stored in Minio to free up space. Here’s how you can do it:
Copy code
bash    kubectl exec -it <minio-pod-name> -- rm -rf /storage/airbyte-dev-logs/job-logging/workspace/
This command will delete the files and folders inside the specified path, which mainly stores the logs. References: - [Source 1](https://discuss.airbyte.io/t/3101) - [Source 2](https://discuss.airbyte.io/t/1857) 2. Increasing Storage Space: If deleting logs is not a viable option, you might consider increasing the storage space allocated to Minio. The path to increase the space is
/storage
. References: - [Source 3](https://discuss.airbyte.io/t/1078) ### Configuring External Minio If you are using an external Minio instance, ensure that the configuration is correct to avoid issues with log storage. Here’s an example configuration for an external Minio instance:
Copy code
yaml log:     externalMinio:         enabled: true         host: minio-svc.minio         port: 9000
Make sure not to include an unnecessary endpoint that could cause connection issues. References: - [Source 4](https://discuss.airbyte.io/t/4087) If you need more detailed information or further assistance, you might want to check the [Airbyte documentation](https://docs.airbyte.com) or reach out to the community for specific configurations related to log retention policies.