group_semantic_patterns
Cluster similar log messages using the Drain algorithm to isolate core events and parameter distributions, turning noisy logs into actionable insights.
Instructions
Cluster similar log messages using Drain algorithm to isolate core events and parameter distributions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "group_semantic_patterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Depth of the Drain parse tree | |
| file_path | Yes | Absolute path to the log file | |
| time_window_start | No | ISO timestamp to filter logs generated after this time | |
| similarity_threshold | No | Similarity threshold for clustering (0.1 to 1.0) |