get-container-logs
Retrieve container logs to debug application issues by accessing log sources including insforge, postgREST, postgres, and function logs with configurable output limits.
Instructions
Get latest logs from a specific container/service. Use this to help debug problems with your app.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
apiKey | No | API key for authentication (optional if provided via --api_key) | |
limit | No | Number of logs to return (default: 20) | |
source | Yes | Log source to retrieve |
Input Schema (JSON Schema)
{
"properties": {
"apiKey": {
"description": "API key for authentication (optional if provided via --api_key)",
"type": "string"
},
"limit": {
"default": 20,
"description": "Number of logs to return (default: 20)",
"type": "number"
},
"source": {
"description": "Log source to retrieve",
"enum": [
"insforge.logs",
"postgREST.logs",
"postgres.logs",
"function.logs"
],
"type": "string"
}
},
"required": [
"source"
],
"type": "object"
}