create_log_parsing_rule
Define custom parsing rules to extract structured data from log files using Grok patterns and NRQL queries for New Relic monitoring.
Instructions
Create a new log parsing rule
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | ||
| grok | Yes | ||
| nrql | Yes | ||
| enabled | No | ||
| lucene | No | ||
| account_id | No |
Input Schema (JSON Schema)
{
"properties": {
"account_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Account Id"
},
"description": {
"title": "Description",
"type": "string"
},
"enabled": {
"default": true,
"title": "Enabled",
"type": "boolean"
},
"grok": {
"title": "Grok",
"type": "string"
},
"lucene": {
"default": "",
"title": "Lucene",
"type": "string"
},
"nrql": {
"title": "Nrql",
"type": "string"
}
},
"required": [
"description",
"grok",
"nrql"
],
"type": "object"
}