docker_container_logs
Retrieve recent Docker container logs for monitoring and troubleshooting, with options to filter by time, content, and line count.
Instructions
Get recent logs from a container
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | Container name or ID | |
| lines | No | Number of lines to return (default: 50, max: 500) | |
| since | No | Only logs since timestamp, e.g., "1h", "30m" | |
| filter | No | Regex pattern to filter log lines (e.g., "error|warn|fail") |