Activity Logs is a set of records that contain the sequence of all the activities related to the workflows of your account. The log records include details such as the timestamp, title, execution status as well as an option to view detailed log.
There are two ways in which you can access the activity logs:
1. Access workflow execution specific logs via canvas
2. Access all workflow related logs from the Activity Logs page
You can view the execution log associated with a specific workflow from the canvas. This eliminates the need to search through the account log listed in the Activity Logs page. To do this, follow the steps given below:
Step 1: Click on the Workflow Execution History icon displayed at the bottom-right corner of the canvas. When you click on it, a pop-up window will appear where the existing logs associated with the current workflow on canvas will be listed.
Step 2: Locate the log file of which the details you want to view, and click on the VIEW LOG button. A new window will appear on your screen where you can see the log details associated with the workflow.
Step 3: You can download the selected log file in JSON format on your local machine by clicking on the Export Log button.
You can also include the input-output details of each action used in the workflow, in the log. To do so, follow the steps given below:
Step 1: Click on the Workflow Settings (gear) icon given on the top-right corner of the canvas.
Step 2: Click on the Execution Settings option from the list of options given on the left-side panel of the window that appears.
Step 3: Toggle-on the switch of the Maintain activity log option. This will include the input-output details of each action of the workflow in the log.
The Activity Logs page includes the log records for:
• Workflows executed manually
• Workflow executed via webhook or trigger
• Workflow shared with another user
• Workflow shared by another user
Let us now understand how to work with the logs:
1. View detailed log
Each log record includes details such as, timestamp, the title of the workflow, details about the workflow, its status as well as a View Log button that lets you view the detailed logs, as shown below:
When you click on the View Log button, you will see the detailed log as shown below:
You can download the selected log file in JSON format on your local machine, by clicking on the Export Log button.
2. Apply filters
While accessing select logs from this list seems easy, it may become a bit tedious to search a specific log through a long list of logs. In such a scenario, you can use the Filter Logs feature to get the required log. Let’s look at all the filters that you can apply for logs.
2.1 Workflow logs associated with a specific time frame
You can view workflow logs for a certain timeframe using the time picker given at the right-side of the Activity Logs screen. Here, you can specify the start and end date to fetch the workflow logs created within that duration.
2.2 Workflow logs associated with specific projects, workflows, status, and execution type
You can filter workflow logs based on project names, workflow names, execution status (Success/Pending/Failed/Running/Timeout/Stopped), and execution method (Webhook, Manual, Trigger). To do so, simply select the relevant project/workflow/status/execution type and click Apply. This will fetch the workflow logs associated with the specified filter(s).