Update Log Parsing Rule
update_log_parsing_ruleModify an existing New Relic log parsing rule's Grok, NRQL, or Lucene patterns and settings to correct parsing without creating a new rule.
Instructions
Update an existing log parsing rule
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": {
"rule_id": "<rule_id>"
},
"name": "update_log_parsing_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grok | No | ||
| nrql | No | ||
| lucene | No | ||
| enabled | No | ||
| rule_id | Yes | ||
| account_id | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |