# Audit log streaming
FEATURE AVAILABILITY
Audit log streaming is only available for some Workato plans. Contact your Customer Success representative to learn more about enabling this feature in your account.
The Workato platform automatically stores all Activity audit logs for a period of one year from the date of each event. This ensures you have ample time to review and analyze your activity logs for security and operational insights.
In addition to retaining audit logs in the Workato platform itself, you can also choose to stream these logs to a specified destination.
When you enable audit log streaming, Workato stores the job history of all your recipes, as well as login and user activity, in an Amazon S3 bucket or any REST endpoint. You can use any log service provider (such as Sumo Logic (opens new window), Datadog (opens new window), or Splunk (opens new window)).
Workato creates a JSON file for each event. The file size varies from 1 KB to 1 MB based on the details that are present in the logs.
Workato retains your audit logs for the designated retention period for your account even if audit log streaming is not enabled. This retention is part of our commitment to data security and operational transparency.
MASKED DATA
You can enable data masking to prevent Workato from logging or streaming the input or output of any trigger or action. Workato generates a placeholder step when data masking is enabled. Refer to our data masking documentation for more information.
Example job details log with masked data
The following code provides an example of how masked data appears in a job details log. The example code is truncated to provide a concise example. Refer to Activity audit log streaming samples for a complete example of a job details log.
"lines": [
{
"input": {"data": "masked"},
"output": {"data": "masked"},
"adapter_name": "timer",
"adapter_operation": "trigger_event",
"line_stat": {
"details": [
{
"name": "execution_time",
"average": 0.002,
"total": 0.002,
"min": 0.002,
"max": 0.002,
"count": 1
}
],
"total": 0.002
},
"recipe_line_number": 1,
"mask_data": true
}
# Set up audit log streaming
Navigate to Account settings > Debug (opens new window) and use the toggle button in the Audit log streaming section to enable audit log streaming.
Select the type of events to include in your audit log stream. If you choose to stream your job history, you have the additional option to include your recipe step details in your audit log stream.
Optionally, customize the log message format.
Select a Destination type from the picklist and enter any required fields for destination you select. Workato supports the following streaming destinations:
- Amazon S3
- Azure Monitor
- Azure Blob Storage
- Cloud based logging service
Select Save.
Last updated: 5/1/2024, 2:02:36 PM