Skip to Content
OpenETL
ReferenceAPISync Service

Read sync log

A page of the sync's log, oldest first: each attempt's, then each post-sync step's. The log is in the data plane that ran the sync, so a runner of that data plane reads it; UNAVAILABLE if none does in time. Data planes keep logs for 30 days.

GET
/v1/workspaces/{workspace}/pipelines/{pipeline}/syncs/{sync}:readLog

A page of the sync's log, oldest first: each attempt's, then each post-sync step's. The log is in the data plane that ran the sync, so a runner of that data plane reads it; UNAVAILABLE if none does in time. Data planes keep logs for 30 days.

Path Parameters

workspace*string

The workspace id.

pipeline*string

The pipeline id.

sync*string

The sync id.

Query Parameters

pageToken?string

From the last page; unset for the start.

Response Body

OK

application/json
  1. response
entries?array<>
nextPageToken?string

Where the next page starts. Unset once the sync has ended and every entry is read; while it runs, more may follow, so read again with it.

Example Request
curl -X GET 'http://localhost:8080/v1/workspaces/string/pipelines/string/syncs/string:readLog'
Example Response
{  "entries": [    {      "time": "2019-08-24T14:15:22Z",      "level": "string",      "message": "string",      "attempt": 0,      "postSyncStep": 0,      "attrs": {}    }  ],  "nextPageToken": "string"}