Skip to main content
Glama
Fato07
by Fato07

log_analyzer_suggest_patterns

Analyze log files to identify and suggest search patterns for errors, security indicators, performance issues, and identifiers.

Instructions

Analyze a log file and suggest useful search patterns. Scans the log content to identify patterns for: - Common error templates (normalized messages) - Identifiers (UUIDs, request IDs, user IDs, session IDs) - Security indicators (auth failures, suspicious activity) - Performance indicators (slow requests, high memory) - HTTP endpoints with errors Args: file_path: Path to the log file to analyze focus: Analysis focus - 'all', 'errors', 'security', 'performance', or 'identifiers' (default: 'all') max_patterns: Maximum patterns to suggest (1-20, default: 10) max_lines: Maximum lines to analyze (100-100000, default: 10000) response_format: Output format - 'markdown' or 'json' Returns: Suggested search patterns with descriptions, match counts, and examples.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
focusNoall
max_patternsNo
max_linesNo
response_formatNomarkdown

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/Fato07/log-analyzer-mcp'

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