<@U04S8PLJWMT> how do I export sync timeline info ...
# ask-ai
d
@kapa.ai how do I export sync timeline info (e.g. duration, volume of data, no records, etc)?
k
To export sync timeline information such as duration, volume of data moved, and number of records, you can use the Airbyte UI's Connection Timeline feature. Here’s how you can access and export this information: 1. Navigate to the Connection Timeline: - Go to Connections in the Airbyte UI. - Select the connection you want to inspect. - Click on the Timeline tab. 2. Review Sync Details: - The timeline displays each sync, refresh, and clear event, including: - Sync status (Succeeded, Incomplete, Failed, Cancelled, Running) - Amount of data moved (e.g., in GB, MB, KB) - Number of records extracted and loaded - Total sync time (duration) 3. Export/Download Logs: - For a more detailed export, you can download the logs for each sync: - Click the three grey dots next to a sync in the Job History or Timeline. - Select Download logs. - The downloaded logs will include detailed information about the sync, including metrics like duration, data volume, and record counts. If a sync had multiple attempts, the logs will be combined for all attempts in that job. 4. Programmatic Access (Advanced): - If you need to automate or visualize this data, you can use tools like PyAirbyte to trigger syncs and collect job metadata (duration, status, records synced, bytes synced, etc.) programmatically. This allows you to build custom exports or dashboards using the Airbyte Cloud API and Python scripts. Example code for collecting and visualizing job execution data is available in the [PyAirbyte tutorial](https://airbyte.com/tutorials/using-pyairbyte-as-a-data-orchestrator-for-hosted-airbyte-connections). Note: The UI provides a direct way to review and download sync metrics, but for bulk or automated exports, using the API or PyAirbyte is recommended. References: - [Review the Connection Timeline](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/review-connection-timeline#syncs-refreshes-and-clears) - [Browsing logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs) - [Using PyAirbyte as a data orchestrator](https://airbyte.com/tutorials/using-pyairbyte-as-a-data-orchestrator-for-hosted-airbyte-connections)