Menu
Get Logpush Job
Get Logpush job details.
GET
/organizations/{organizationId}/zones/{zoneId}/logpush/jobs/{jobId}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Logpush Job action (under Zones (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{getLogpushJob.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getLogpushJob.response.data.<field>}}.
{
"data": {
"jobId": 123456,
"name": "my-logpush-job",
"logType": "http_requests",
"filter": "{\"where\":{\"key\":\"ClientRequestPath\",\"operator\":\"contains\",\"value\":\"/example-path\"}}",
"logFields": [
"ClientRequestBytes",
"ClientRequestHost",
"ClientRequestMethod"
],
"destinationPath": "s3://customer-bucket/site-name/{DATE}?region=us-east-1&sse=AES256",
"enabled": false,
"lastComplete": "2023-01-02T00:00:00Z",
"lastError": "2023-01-01T10:00:00Z",
"errorMessage": "No permissions to write to destination bucket",
"createdOn": "2023-01-01T00:00:27Z"
}
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?