# Logs

These instructions apply to the legacy Admin Console.

The Logs view lets you search and filter historical log activity across your tenant.

## Where to Find It

Under **Monitoring** in the left navigation, select **Logs**.

## How It Works

* **Agents** - Filter logs by one or more agents.
* **CLQL editor** - Enter a query using Contextual Log Query Language (CLQL), then press Enter or click **Search**.
* **Time Range** - Choose a search window (for example, Last 24 hours or Last 30 Days). The selected range limits the query; it does not extend log retention.
* **Messages / Sessions tabs** - Toggle between message-level logs and session-level logs.

Tenant log retention is configured as 1, 7, or 30 days, with the 1-day tier used as the provisioning fallback/default. Search results are bounded by the tenant's retained history. Selecting a range longer than that history cannot return expired logs.

The editor includes a direct link to the CLQL docs for query syntax guidance.

## Tips

* Use **Columns** to show or hide fields in the results grid.
* Use **Filters** for quick table filtering after a query runs.
* Use **Export** to download results for offline analysis.

For CLQL details, see [Contextual Log Query Language (CLQL)](https://docs.contextual.io/legacy/tenants/tenant-logs/contextual-log-query-language-clql.md).
