Logs streaming

For the workflow logs discussed in the previous page in this section it is also possible to enable the streaming of logs data to an external endpoint. This means you could use a system such as Datadog, Sentry, Redshift, New Relic or Kibana in order to conduct further analysis and display statistics in meaningful dashboards such as:

There are many ways in which you can filter and present your logs data.

Please see the main platform logs streaming docs for guidance on this.

As an Embedded customer, the Execution event (which gives details on the status of a workflow run) includes solutionId, solutionInstanceId and sourceWorkflowId fields:

1
{
2
"header": {
3
"payloadSize": 773,
4
"version": 1
5
},
6
"logType": "execution_event",
7
"eventType": "<created | started | retrying | failed | created_failed | manually_retried | successful | terminated>",
8
"created": "<iso timestamp>",
9
"executionCreated": "<iso timestamp>",
10
"executionId": "<uuid>",
11
"workflowId": "<uuid>",
12
"organizationId": "<uuid>",
13
14
// embedded only
15
"solutionId": "<uuid>",
16
"solutionInstanceId": "<uuid>",
17
"sourceWorkflowId": "<uuid>",
18
19
// fields present in case of error
20
"errorMessage": "<string | undefined>",
21
"errorStepName": "<string | undefined>",
22
"errorStepTitle": "<string | undefined>",
23
"errorId": "<uuid | undefined>",
24
"errorType": "<internal | input | connector | external>"
25
}

And there are several Embedded-specific Audit event types:

These are solutionInstanceWorkflowCreated, solutionInstanceWorkflowUpdated and solutionInstanceWorkflowDeleted.

The following screenshot shows an example log for solutionInstanceWorkflowCreated: