# Workato Logging Service

VIDEO GUIDE: WAYS TO USE WORKATO LOGGING SERVICE

Logging is an essential tool for testing, troubleshooting, and debugging. The Workato Logging Service provides centralized storage for collecting and searching through log entries. You can add log entries to recipes by using the Logger by Workato connector.

On the Logs page, you can filter logs by recipe ID, by a search term in the log data, and more. For example, you can use the ERROR log level to find logs with errors. Refer to Filter log entries for more information.

You can also send OPA logs to the Workato Logging Service. Refer to the on-prem documentation for more information.

Example log entry data Example log entry data

FEATURE AVAILABILITY

The Workato Logging Service feature is available to customers on specific pricing plans. It includes access to the Logs page and the Logger by Workato connector. Refer to your pricing plan and contract to learn more.

Your role must also have the Workato Logs Service Privilege.

# Workato Logging Service use cases

VIDEO GUIDE: TROUBLESHOOT STEPS IN A LOOP FASTER

Steps that are repeated in a loop are not fully visible from the job reports, as only the last execution of that step is displayed. Logging provides visibility into each iteration of repeated steps. This makes it easier to troubleshoot and debug steps which are nested within a loop.

Some business objects, such as customer workspaces, are integrated into multiple workflows. Logging allows you to track every time a recipe interacts with a certain customer (for example, customer workspace ACME Corp).

# How to access the Logs page

To view the Logs page, you must have:

To view the Logs page:

1

Log in to your Workato account.

2

Click Tools > Logs.

Workato Logging Service Workato Logging Service

OPEN THE LOGS PAGE IN YOUR REGION

Each data center is independent, so use the following links to open Workato Logging service for your region:

# View log entries

VIDEO GUIDE: HOW TO SEARCH IN LOGS

To view a log entry on the Logs page:

1

Log in to your Workato account.

2

Click Tools > Logs.

3

Select the log you plan to review.

4

Optional. Select the Hide columns button above the list of logs and uncheck the box next to the column name to hide a column. You can show a column by checking the box next to the column name.

Showing columns all columns in the Logs page Showing all columns in the Logs page

Each log entry contains fields with metadata about when and how the log was created. This information is displayed in columns on the Logs page.

All columns displayed on the Logs page All columns displayed on the Logs page

# Log columns

Log column Description
Time The time this log entry was created, according to the workspace's timezone.
Log type The source of the log entry, such as the Job, Polling error or OPA.
Log level Possible log levels are DEBUG (OPA logs only), INFO, WARN, ERROR.

OPA TRACE logs are not currently supported in Logging Service.
Data The log message from Logger by Workato.
Recipe ID The recipe ID.
Job ID The job ID.
Step number The step number of the action in the recipe that created this log.
Agent The on-prem agent that the log originated from. Only OPA versions 23.0 and newer can send logs to the Logging Service, and the OPA logging feature must be enabled.
On-prem group The on-prem group associated with the agent that originated the log. Only OPA versions 23.0 and newer can send logs to the Logging Service, and the OPA logging feature must be enabled.

# Filter log entries

You can filter the log entries by each column listed in the Log columns section.

Several filters are shown by default. Select additional filters by clicking the + (plus) icon and choosing the filter(s) you plan to display:

Select filters to display on the Logs page Select filters to display on the Logs page

# Example: Filter entries by data

To filter entries by searching for a term in the Data field:

1

Select the Filter by data button on the Logs page.

The Filter by data button The Filter by data button

2

Enter a search term in the contains field that appears.

Searching logs by a term in the Data field Searching logs by a term in the Data field

3

Click the checkmark in the contains field or type Enter.

The Logs page displays only logs that have a Data field containing the term you entered.

Logs filtered by a term in the Data field Logs filtered by a term in the Data field

# Refresh log entries

Workato's Logging Service includes a Refresh button that allows you to manually refresh log entries instead of waiting for automatic log updates. This feature reduces wait times and provides you with quicker access to the latest log information.

Refresh button Refresh button

# Trigger error logging

You can view and understand why a trigger error occurs, allowing you to troubleshoot recipe triggers effectively. Trigger errors can occur for various reasons, including issues with polling, webhooks, or trigger filters. Identifying and resolving these errors is crucial for maintaining the functionality of your recipes.

To filter these errors, select the filter for trigger errors on the logging service page. This allows you to locate and address specific trigger errors.

Filter errors Filter errors

TRIGGER ERRORS VISIBILITY

When a trigger error occurs, it does not generate a job. As a result, there is no job ID, and no entry is created in the job history table. These errors are only visible on the logging service page.

# Trigger filter errors

Trigger filter errors occur when the conditions set in the trigger filters are invalid or when the data does not match the expected format.

Trigger filter errors are logged automatically. Automatic logging helps diagnose and troubleshoot issues related to trigger filters effectively.

# Polling errors

Polling errors occur in three main conditions:

  • When a poll request fails
  • When the poll response cannot be parsed successfully
  • When the fetched data size exceeds the trigger event size quota of 50 MB

The following example displays log data for a polling error due to a timeout issue:

Polling errors Polling errors

# Webhook errors

Webhook errors occur when there is an issue with accepting or processing a webhook event. These errors can occur for various reasons, such as an invalid request, incorrect URL, or server issues. Addressing webhook errors is essential to ensure the reliability of your webhook-based triggers.

There are two types of webhook errors:

  • Webhook Gateway errors

  • These errors occur at the gateway level, typically due to rate limiting, verification failures, or invalid requests. These errors prevent the webhook event from reaching the processing stage.

  • Webhook Processing errors

  • These errors occur during the processing of the webhook event after it has been accepted by the gateway. These can be due to data parsing issues, processing logic failures, or downstream service errors.

Both types of webhook errors are logged automatically and handled similarly.

The following example displays log data for a webhook error:

Webhook errors Webhook errors

# Log entry details

1

Click the log entry to expand the log data. This displays the full log message.

2

Enter a search term in the Data field of the log entry to refine your search.

Log entry data Log entry data

INPUT AND OUTPUT MESSAGE FIELD BEHAVIOR

The input and output message fields contain the same data for log entries. The message field under output contains the data for both the input and output fields, leaving the input field empty.

# Add log entry with Logger by Workato

1

Log in to your Workato account and navigate to Projects.

2

Click the Create button and select Recipe to create a new recipe or click an existing recipe and select Edit recipe.

3

Click the + (plus) button under Actions to add a new step.

4

Select Action in an app.

5

Search for and select Logger by Workato.

6

Customize the content of your log message by filling out the Message field. You can insert datapills into this field.

7

Toggle Send to Workato log service and select the log level. The Logger by Workato connector supports the log levels INFO, WARN, and ERROR.

This creates a log entry for every job, including test jobs.

Logger by Workato Logger by Workato

MONITOR RECIPE JOBS IN REAL-TIME WITH LOGS

The Logs page is updated as each log step is completed. This means that you do not need to wait for the entire recipe job to finish processing before viewing the logs. This enables you to track the real-time progress of long running recipes.

# Add log entries from OPA

You can send logs to the Logging Service if you use OPA versions 23.0 or newer and have the Send to Workato logs setting enabled. To enable this setting:

1

Log in to your Workato account.

2

Click Tools > On-prem groups > Settings > Log management.

3

Enable the Send to Workato logs setting. Note that this setting is disabled by default. Refer to the on-prem documentation for more information.

OPA logs in the Workato Logging Service OPA logs in the Workato Logging Service

# Log encryption

Logs are encrypted at rest and in transit with a unique encryption key for each workspace and environment (if applicable).

Check out how it works with Workato's Encryption Key Management.

# Log limits

Each log entry has a maximum retention period of 30 days and is independent of the customized retention periods for other components in your workspace.

In each workspace or environment, every log type source has a retention limit of 1,000,000 log entries. This retention limit prevents the logging service from being overloaded and ensures that older logs do not displace newer ones. When this threshold is reached, the system deletes the oldest entries for that specific log type source to make space for incoming logs.

# Size limits

The data column for each log entry has a maximum limit of 10KB. Once the limit is exceeded, the contents are truncated.

# Character encoding

UTF-8 character encoding is used in log entries and international characters are supported (e.g. "こんにちは世界!").


Last updated: 11/5/2024, 6:04:00 PM