overwatch logs
Query and display the audit log of all tool calls.Usage
Options
| Option | Description |
|---|---|
-n, --limit <count> | Number of entries to show (default: 20) |
--tail | Follow log in real-time (Ctrl+C to stop) |
--since <duration> | Show logs since duration (e.g., 1h, 30m, 7d) |
--server <name> | Filter by server name |
--risk <level> | Filter by risk level |
--export <format> | Export format: json, csv, cef |
--json | Output in JSON format |
Examples
Recent Logs
Follow Log in Real-Time
Filter by Time
Filter by Server
Filter by Risk Level
Export Logs
Log Entry Structure
Each log entry contains:| Field | Description |
|---|---|
id | Unique entry ID |
timestamp | When the operation occurred |
server | MCP server name |
tool | Tool that was called |
args | Tool arguments (may be redacted) |
riskLevel | Classified risk level |
decision | allowed or denied |
sessionId | Session grant ID (if applicable) |
duration | Execution time (ms) |
error | Error message (if failed) |
Export Formats
JSON
CSV
CEF (Common Event Format)
- dangerous = 10
- destructive = 8
- write = 5
- read = 3
- safe = 1