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

# Observability

> Search every request Formal proxies, replay sessions, map access, and export logs to your own tools

## Overview

The Endpoint and the Connector log every request they proxy and send those logs to the Control Plane.
Each log names the identity, the resource, the request, and the policies that applied.

Logs come from four sources: Connectors, the Formal Endpoint, the Control Plane, and workflows.

## Explore activity

> [card] [Logs](https://docs.formal.ai/docs/guides/observability/logs.md)
>
> Search and aggregate queries, commands, and API calls

> [card] [Sessions](https://docs.formal.ai/docs/guides/observability/sessions.md)
>
> Review a connection and everything that happened in it

> [card] [Access Graph](https://docs.formal.ai/docs/guides/observability/access-graph.md)
>
> See which people, agents, and machines reach which resources

> [card] [Insights](https://docs.formal.ai/docs/guides/observability/insights.md)
>
> Triage AI-generated findings about LLM traffic

## Answer common questions

| Question | Where to look |
| - | - |
| Who ran this query, and what did it return? | [Logs](https://docs.formal.ai/docs/guides/observability/logs.md) |
| What did this user or agent do during one connection? | [Sessions](https://docs.formal.ai/docs/guides/observability/sessions.md) |
| Which policy blocked this request? | [Triggered Policies](https://docs.formal.ai/docs/guides/policies/suspensions.md) |
| Who changed this configuration in Formal? | [Control Plane Logs](https://docs.formal.ai/docs/guides/observability/control-plane-logs.md) |
| Which AI harnesses and models are people using? | [Monitor AI Usage](https://docs.formal.ai/docs/guides/ai-governance/usage.md) |
| Why is this traffic missing from the logs? | [Logs troubleshooting](https://docs.formal.ai/docs/guides/observability/logs.md#troubleshooting) |

## Control what is stored

| Feature | Use it to |
| - | - |
| [Log Schemas](https://docs.formal.ai/docs/guides/observability/log-schemas.md) | Set an action for sensitive log fields before Formal stores or exports them |
| [Encryption Keys](https://docs.formal.ai/docs/guides/integrations/encryption_keys.md) | Encrypt log and session fields with your own KMS key |
| [Data Handling and Retention](https://docs.formal.ai/docs/guides/observability/data-handling.md) | What each component sends and stores, and for how long |

## Export logs

Forward logs to Amazon S3, Google Cloud Storage, Google Cloud Pub/Sub, Azure Blob Storage, Datadog, Splunk, or Panther.
See [Log Forwarding](https://docs.formal.ai/docs/guides/integrations/log.md).

## Next Steps

> [card] [Log Forwarding](https://docs.formal.ai/docs/guides/integrations/log.md)
>
> Send logs to your SIEM or data lake

> [card] [Control Plane Logs](https://docs.formal.ai/docs/guides/observability/control-plane-logs.md)
>
> Audit API calls and control who can view logs


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.