test_log_parsing_rule
Test log parsing rules against sample logs to validate pattern accuracy. Automatically generates grok patterns when none are provided for log data analysis.
Instructions
Test a log parsing rule against sample logs.
If no grok_pattern is provided, it will generate one automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_samples | Yes | ||
| grok_pattern | No | ||
| account_id | No |
Input Schema (JSON Schema)
{
"properties": {
"account_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Account Id"
},
"grok_pattern": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Grok Pattern"
},
"log_samples": {
"items": {
"type": "string"
},
"title": "Log Samples",
"type": "array"
}
},
"required": [
"log_samples"
],
"type": "object"
}