Skip to main content
Glama
Fato07
by Fato07

log_analyzer_parse

Parse and analyze log files to detect format, extract metadata, identify time ranges, and show level distributions for debugging and monitoring.

Instructions

Parse and analyze a log file, detecting its format and extracting metadata. Args: file_path: Path to the log file to analyze format_hint: Force specific format (syslog, apache_access, apache_error, jsonl, docker, python, java, kubernetes, generic) or None for auto-detect max_lines: Maximum lines to parse (100-100000, default 10000) response_format: Output format - 'markdown' or 'json' Returns: Analysis results including detected format, time range, level distribution, and sample entries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
format_hintNo
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