> ## 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<img src="https://mintcdn.com/aptible/opX5eNKf32ujRi0n/images/operation-logs1.png?fit=max&auto=format&n=opX5eNKf32ujRi0n&q=85&s=748098a440a51de685946976802b205d" alt="" width="2800" height="2000" data-path="images/operation-logs1.png" />

  * 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](/reference/aptible-cli/cli-commands/cli-operation-logs) command

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

* For actively running operations, by using

  * [`aptible logs`](/core-concepts/observability/logs/overview) to stream all logs for an app or database
