A handy script allowing usage data export from Spacelift self hosted instances. Simply fill placeholders and run the script to export data directly to Spacelift.
pip install -r requirements.txtExample usage
./export.py --base-url <SELFHOSTED_SPACELIFT_URL> --api-key-id <EXPORT_API_KEY_ID> --api-key-secret <EXPORT_API_KEY_SECRET> --start-date <YYYY-MM-DD> --end-date <YYYY-MM-DD> --skip-tls-verification --batch-size 7 --send-to-spaceliftFor more details run
./export.py