BigQuery logger handler for Airflow
Project description
BigQuery logger handler for Airflow
Installation
pip install airflow-bigquerylogger
Configuration
AIRFLOW__CORE__REMOTE_LOGGING='true'
AIRFLOW__CORE__REMOTE_BASE_LOG_FOLDER='gs://bucket/path'
AIRFLOW__CORE__REMOTE_LOG_CONN_ID='gcs_log'
AIRFLOW__CORE__LOGGING_CONFIG_CLASS='bigquerylogger.config.LOGGING_CLASS'
AIRFLOW__CORE__LOG_BIGQUERY_DATASET='dataset.table'
AIRFLOW__CORE__LOG_BIGQUERY_LIMIT=50
Credits
Thanks to https://medium.com/bluecore-engineering/kubernetes-pod-logging-in-the-airflow-ui-ed9ca6f37e9d
Unable to delete logs from BigQuery {} because:\n\n *** Rows that were written to a table recently via streaming (using the tabledata.insertall method) cannot be modified using UPDATE, DELETE, or MERGE statements. I recommend setting up a table retention!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for airflow-bigquerylogger-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ef2d7c6d6dcb65692b4d7a2f7e1349824dfdffe1b5f58b0bfed2624abab92d |
|
MD5 | ec2471a8fb1e2b5a20f116e7943baa15 |
|
BLAKE2b-256 | 4d3cb1bc92173d3e3f002108a332fe0736e55a1718b9ee9aafe525576e299ecf |
Close
Hashes for airflow_bigquerylogger-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a16a6cc316461ea39b1da55e5ab90ba601107bfbe3d687019781ccd66416ae0b |
|
MD5 | 85fbfdf939a671ac0511ac8c7948f465 |
|
BLAKE2b-256 | 95497c8c98641ed4a67084343fd332c301c3071c037148ba7a9492ca508ad341 |