-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure S3 to store Airflow Logs #4470
Comments
Question for the team, if we have logs in New Relic, do we want them also in S3? |
I suppose it doesn't make sense to double store the logs. I believe the idea behind the s3 connector is that all the various airflow components can drop logs in one place and then you can use whatever you'd like to aggregate them from there. Since our team is already using New Relic for this, it probably isn't necessary. Should we icebox or close this? |
I'm going to close it. If we need to revive it should be easy enough since it has the h20 label. |
It seems like there isn't a good consensus on operational and maintenance procedures.. If the logs are in NR, then creating a process for linking to those logs (i.e. doing an API call to fetch the logs in whatever viewer makes sense might work OR just going to NR being an expert in finding logs haha...). The alternative of having "duplicate" logs only hurts if there's a heavy cost or maintenance burden involved, neither of which sound like it's the case. NR only stores 3 months of logs as is, soo... S3 would give you longer log storage too. |
Airflow can store logs in a variety of ways. Should we want to use the deploy scenario of Airflow on Cloud Foundry, we would want to store the logs externally. There is functionality to allow writing logs to
s3
that uses as3
connector to handle the auth.See additional context #4434 and GSA/datagov-harvester#1.
How to reproduce
cf app
logs:Expected behavior
Populated logs
Actual behavior
No logs
Sketch
[Notes or a checklist reflecting our understanding of the selected approach]
s3
service is set up correctly to allow Airflow to connects3
connection in Airflow is set up correctlyThe text was updated successfully, but these errors were encountered: