Skip to main content
Glama
geored

Lumino

stream_analyze_pod_logs

Stream and analyze Kubernetes pod logs in chunks to detect patterns, identify errors and warnings, and provide real-time insights for troubleshooting.

Instructions

Stream and analyze pod logs in chunks with progressive pattern detection.

Processes logs in manageable chunks for memory efficiency and real-time insights.

Args:
    namespace: Kubernetes namespace.
    pod_name: Pod name to stream logs from.
    container_name: Specific container (if multiple).
    chunk_size: Lines per chunk (default: 5000).
    analysis_mode: "errors_only", "errors_and_warnings" (default), "full_analysis", or "custom_patterns".
    time_window: Time window for historical logs (e.g., "1h", "6h", "24h").
    follow: Stream logs in real-time (default: False).
    max_chunks: Max chunks to process (default: 50).
    since_seconds: Logs from last N seconds.
    tail_lines: Limit to last N lines.
    time_period: Time period (e.g., "1h", "30m").
    start_time: Start time (ISO format).
    end_time: End time (ISO format).
    max_context_tokens: Maximum tokens for output (default: 50000).

Returns:
    Dict[str, Any]: Keys: chunks, overall_summary, trending_patterns, recommendations, metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceYes
pod_nameYes
container_nameNo
chunk_sizeNo
analysis_modeNoerrors_and_warnings
time_windowNo
followNo
max_chunksNo
since_secondsNo
tail_linesNo
time_periodNo
start_timeNo
end_timeNo
max_context_tokensNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/geored/Lumino'

If you have feedback or need assistance with the MCP directory API, please join our Discord server