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

# How to access operation logs

> For all operations performed, Aptible collects operation logs. These logs are retained only for active resources and can be viewed in the following ways.

## Using the Dashboard

* Within the resource summary by:

  * Navigating to the respective resource

  * Selecting the **Activity** tab![](https://mintcdn.com/aptible/opX5eNKf32ujRi0n/images/operation-logs1.png?fit=max\&auto=format\&n=opX5eNKf32ujRi0n\&q=85\&s=748098a440a51de685946976802b205d)

  * Selecting **Logs**

* Within the **Activity** dashboard by:

  * Navigating to the **Activity** page

  * Selecting the **Logs** button for the respective operation

    * Note: This page only shows operations performed in the last 7 days.

## Using the CLI

* By using the [aptible operation:logs](https://www.aptible.com/docs/reference/aptible-cli/cli-commands/cli-operation-logs.md) command

  * Note: This command only shows operations performed in the last 90 days.

* For actively running operations, by using

  * [`aptible logs`](https://www.aptible.com/docs/core-concepts/observability/logs/overview) to stream all logs for an app or database
