> ## Documentation Index
> Fetch the complete documentation index at: https://docs.refold.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Observability with Logs

> Logs in Refold allow you to monitor workflows, troubleshoot errors during executions, and gain insights into platform activities.

There are various types of Logs that you can see in Refold:

## Execution Logs

**Execution Logs** is able to provide various details about a workflow that was executed.

With features such as detailed execution details and request/response data, workflow logs enable users to gain deeper insights into the execution process and ensure optimal performance.

To view the Logs, navigate to `Logs` in **Refold** and check the `Executions` tab.

<Tip>
  You can even filter out the logs based on Workflow name, Status, Linked Account etc.
</Tip>

<img height="200" src="https://mintcdn.com/cobalt-55/vPGojg1WCLHlMpWZ/images/Guides/Platform/workflow-logs.png?fit=max&auto=format&n=vPGojg1WCLHlMpWZ&q=85&s=9618523a494d15dc4122a8931e5e3957" alt="Workflow Logs Refold" data-path="images/Guides/Platform/workflow-logs.png" />

**Key Functionalities**

To test a workflow in Refold, user can also execute a workflow through the **Try API** section in Refold.

<Info>
  To learn more about Try API and how it can be used, refer to our guide [here](https://docs.gocobalt.io/ship/tryapi).
</Info>

Some of the key functionalities of Workflow logs are described in details below:

#### Logs Views

<Accordion title="Logs views">
  For your Execution Logs, you can also create your own Custom Views with a set of filters already applied to it.

  To create a View, click on `+New View` button in the top right corner of Execution Logs screen.

  <img height="200" src="https://mintcdn.com/cobalt-55/vPGojg1WCLHlMpWZ/images/Guides/Platform/workflow-logs-view.png?fit=max&auto=format&n=vPGojg1WCLHlMpWZ&q=85&s=790e538e7e74970b222b9ee8cf572c6e" alt="Views of Workflow logs in Refold" data-path="images/Guides/Platform/workflow-logs-view.png" />

  Now apply any filter that you want and click on `Save` in the top right corner.
</Accordion>

#### Node Activity Details

<Accordion title="Node Activity Details">
  By clicking on a workflow log, users can view the activity of individual nodes present in the workflow.

  This includes information about the status or errors encountered by each node, response etc. providing insights into the execution flow and potential points of failure.

  <img height="200" src="https://mintcdn.com/cobalt-55/vPGojg1WCLHlMpWZ/images/Guides/Platform/workflow-logs-node.png?fit=max&auto=format&n=vPGojg1WCLHlMpWZ&q=85&s=6159bc474f5b001f3f890e2289880569" alt="Execution details of Workflow nodes in Refold" data-path="images/Guides/Platform/workflow-logs-node.png" />
</Accordion>

#### Replay & Retry Functionality

<Accordion title="Replay & Retry Functionality">
  For workflows that encounter errors, users have the option to retry complete execution by clicking on the `Replay` button in the top right corner or individually running an errored node again by clicking on `Retry`.

  <Note>The Replay functionality is limited to a single attempt.</Note>

  <img height="200" src="https://mintcdn.com/cobalt-55/vPGojg1WCLHlMpWZ/images/Guides/Platform/workflow-logs-retry.png?fit=max&auto=format&n=vPGojg1WCLHlMpWZ&q=85&s=22b9c98139fe3448e990f747cc7fd05b" alt="Retry an errored Workflow in Refold" data-path="images/Guides/Platform/workflow-logs-retry.png" />
</Accordion>

## Event Logs

Event logs in Refold provide information about the triggers and events called.

<Info>
  To learn more about Event in Refold, refer to our guide [here](https://docs.gocobalt.io/build/basics/events).
</Info>

To access the Event Logs, navigate to the `Logs` section in Refold and select the `Events` tab.

<Tip>
  You can filter the logs based on Event name, Status and Linked Account ID etc.
</Tip>

<img height="200" src="https://mintcdn.com/cobalt-55/vPGojg1WCLHlMpWZ/images/Guides/Platform/event-logs.png?fit=max&auto=format&n=vPGojg1WCLHlMpWZ&q=85&s=728609354e2a8e14d93a2f01dc7f586a" alt="Event Logs Refold" data-path="images/Guides/Platform/event-logs.png" />

Each Event Log entry provides you information about the `Workflows` that got executed on Event call, the `Event URL` and the `Payload` that was sent in the event.

<Note>The Workflows section will not be visible if there was no Workflow that was associated with the event.</Note>

<img height="200" src="https://mintcdn.com/cobalt-55/vPGojg1WCLHlMpWZ/images/Guides/Platform/event-logs-details.png?fit=max&auto=format&n=vPGojg1WCLHlMpWZ&q=85&s=2106a01d3642c7cae7180a319484caa9" alt="Details of an Event in Refold" data-path="images/Guides/Platform/event-logs-details.png" />

## Webhook Logs

Webhook logs allows users to monitor the execution of webhooks subscribed to in Refold.

Webhook logs provide detailed information about each webhook event, including its **Execution status**, **Linked Account ID**, **fired date** and more.

To access the Webhook Logs, navigate to the `Logs` section in Refold and select the `Webhooks` tab.

<img height="200" src="https://mintcdn.com/cobalt-55/vPGojg1WCLHlMpWZ/images/Guides/Platform/webhook-logs.png?fit=max&auto=format&n=vPGojg1WCLHlMpWZ&q=85&s=a008fc9d008c3a544d4d39fb5afa38b7" alt="Webhook Logs Refold" data-path="images/Guides/Platform/webhook-logs.png" />

<Info>
  To learn more about Webhooks in Refold and how they can be subscribed, refer to our guide [here](https://docs.gocobalt.io/build/basics/webhooks).
</Info>

For each webhook event, users can view the associated request and response data, providing insights into the interaction between Refold and external systems.

<img height="200" src="https://mintcdn.com/cobalt-55/vPGojg1WCLHlMpWZ/images/Guides/Platform/webhook-logs-details.png?fit=max&auto=format&n=vPGojg1WCLHlMpWZ&q=85&s=de13fd09e9154a79ee313e4bb879d85b" alt="Details of a Webhook in Refold" data-path="images/Guides/Platform/webhook-logs-details.png" />

## Schedule Logs

Schedule Logs provide users with visibility into scheduled workflows and their associated details.

To access the Schedule Logs, navigate to the `Logs` section in Refold and select the `Schedules` tab.

<img height="200" src="https://mintcdn.com/cobalt-55/vPGojg1WCLHlMpWZ/images/Guides/Platform/schedule-logs.png?fit=max&auto=format&n=vPGojg1WCLHlMpWZ&q=85&s=8c243f723f9136d6148da2c40ecf8292" alt="Schedule Logs Refold" data-path="images/Guides/Platform/schedule-logs.png" />

In Refold, Schedule Logs offer a comprehensive view of scheduled workflows, displaying essential information such as:

<CardGroup cols={2}>
  <Card title="Workflow Name and ID">
    Identifies the workflow scheduled for execution.
  </Card>

  <Card title="Schedule Cron">
    Specifies the cron expression defining the schedule for workflow execution.
  </Card>

  <Card title="Event">
    Indicates the Event ID triggering the scheduled workflow.
  </Card>

  <Card title="Status">
    Reflects the current status of the scheduled workflow, either **Active** or **Inactive**.
  </Card>
</CardGroup>

These details enable users to quickly identify scheduled workflows, understand their configurations, and track their status within the Refold platform.
