View, generate, or download dataflow logs
POST/datasources/:datasource_id/dataflows/:id/logs
Retrieves CloudWatch logs for a dataflow. The caller (identified by role_id) needs datasources.view and at least read-only access on the datasource (else AUTH-1010). Supports JDBC Bulkload (servicename=jdbc-dataflow), JDBC Advanced Load (jdbc-advanced-dataflow), Streams (streams-dataflow), and ArcGIS (arcgis-dataflow). Not supported for SaaS. JDBC uses async view/generate/download; Streams and ArcGIS return a sync download URL.
Request
Responses
- 200
- 400
- 500
Shape depends on servicename and action. JDBC view-logs: logPreview, logTruncated, optional nextToken (last page when nextToken is absent). JDBC generate-logs: Message. JDBC download-logs: PresignedUrl or Message if not generated yet. Streams/ArcGIS: url, logPreview, logTruncated.
Response Headers
Validation or authorization failure. Body is {"Message": " -
Response Headers
Backend failure. Body is {"Message": " -