Test Log Parsing Rule
test_log_parsing_ruleValidate log parsing rules by testing them against sample logs; automatically generates a grok pattern when none is provided.
Instructions
Test a log parsing rule against sample logs. If no grok_pattern is provided, it will generate one automatically.
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": {
"log_samples": "<log_samples>"
},
"name": "test_log_parsing_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | ||
| log_samples | Yes | ||
| grok_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |