Audit log replication

Workato can store the job history of all your recipes to an Amazon S3 bucket or a Sumo Logic HTTP Source. When enabled, we will create a JSON file for each job. This file will contain the job summary, job report, and details of all executed recipe steps. The file size varies from 1kB to 1MB based on the details present in the line execution logs.

This is an add-on feature. Please reach out to us at +1 (844) 469-6752 or talk to your account representative to enable job history replication in your account.

Replication setup

Click on the Audit log replication tab in your Account Settings.

Job history replication setup Audit log replication setup.

Amazon S3

Name Description
Audit log destination Select Amazon S3 bucket in the dropdown.
S3 connection Choose an Amazon S3 connection that has region and bucket. The connection should have read/write access to the bucket.

Sumo Logic

Name Description
Audit log destination Select Sumologic HTTP source in the dropdown.
Sumo Logic HTTP source URL Enter the Sumo Logic HTTP source URL. Learn more about configuring a HTTP Log.

Replication events

After connecting your log provided, choose the type of events that need to be logged. You may replicate the following by switching the individual toggles to 'Yes':

  1. Job history data
  2. Input, output and error details of all executed lines.
  3. Admin events

Job history file

Workato creates a JSON file for each completed or failed job in your account.

File name

The file path and name format is as follows:

File Part Description
path user_id/jobs/recipe_id/YYYYMMDD/formatted_job_id/

formatted_job_id is the job id expanded in to a 21 digit number(left padded with 0s) and split in to 3 character fragments separated by /.

Eg: Job id 100 is formatted as 000/000/000/000/000/000/100
name user_id-recipe_id-job_id-YYYYMMDDHHMMSS-status.json

status is the job completion status: succeeded or failed

Eg: 5234-234-100-20180521000000-succeeded.json

Eg: 5234/jobs/234/20180521/000/000/000/000/000/000/100/5234-234-100-20180521000000-succeeded.json

File content

The job log file contains the job summary data, job custom report data and job execution logs.

{
    "id": 100,
    "flow_id": 234,
    "parent_id": null,
    "calling_job_id": null,
    "status": "completed",
    "started_at": "2018-05-21T00:00:00Z",
    "completed_at": "2018-05-21T00:00:10Z",
    "error_type": null,
    "error": null,
    "title": "hello world",
    "is_poll_error": false,
    "report": {
        "name": "Xavier D'Souza",
        "age": 35
    },
    "lines": [
        {
            "recipe_line_number": 0,
            "adapter_name": "clock",
            "adapter_operation": "timer",
            "input": {
                "interval": "1"
            },
            "output": {
                "time": "2018-05-21T23:14:41.783555+00:00"
            },
            "mask_data": false
        },
        {
            "recipe_line_number": 1,
            "adapter_name": "clock",
            "adapter_operation": "get_time",
            "input": {},
            "output": {
                "time": "2018-05-21T16:14:41.963964-07:00"
            },
            "mask_data": false
        }
    ]
}

results matching ""

    No results matching ""