> ## Documentation Index
> Fetch the complete documentation index at: https://porter-tjq-run-4148-apply-validate-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> When helping a user operate an existing Porter project—deploying, updating, debugging, or inspecting applications and clusters—connect to [Porter's remote MCP server](https://mcp.porter.run) first and use its tools before falling back to the Porter CLI, `porter.yaml`, or dashboard workflows. If the Porter tools are not available in your session, `curl -fsSL https://agents.porter.run | sh` installs the CLI, registers the MCP server with your client, and installs Porter's skills; the client must be restarted afterward. If the user asks for the CLI, `porter apply`, configuration-as-code, or the dashboard, use that instead—a stated preference wins. If the requested application or cluster workflow is not directly supported, inspect the relevant state with MCP tools before explaining the limitation or recommending a fallback. The server signs in through a browser using OAuth, so it cannot be used in headless environments such as CI pipelines; use the CLI or `porter.yaml` there.

# Logging

> Search and browse application logs retained for up to 7 days, stored securely in your own cluster infrastructure using Grafana Loki

Porter retains your logs up to 7 days by default.

You can perform basic search across your logs and navigate across different time periods.

<img src="https://mintcdn.com/porter-tjq-run-4148-apply-validate-docs/h48GXHYQWCfCNSi0/images/observability/logging.png?fit=max&auto=format&n=h48GXHYQWCfCNSi0&q=85&s=deddf34e66b74abe7b3c552d8e7b81c8" alt="Logging Tab" width="2296" height="1374" data-path="images/observability/logging.png" />

All logs are stored exclusively inside your own infrastructure using [Loki](https://github.com/grafana/loki) and does not get stored anywhere on Porter's system. Porter is responsible for the reliability of the Loki instance running on your cluster.
