v1
latestOpenAPI 3.0.02026-08-064311,0881.3 MBeventAnalytics
Update an event extraction rule.
Update an event extraction rule.
put/v1/eventExtractionRules/{id}
Path parameters
idstring required
The identifier of the event extraction rule.
Request body
Example request
{
"name": "foo",
"description": "foo",
"query": "_sourceCategory=eventSource",
"correlationExpression": {
"queryFieldName": "_sourcecategory",
"eventFieldName": "foo",
"stringMatchingAlgorithm": "ExactMatch"
},
"configuration": {
"eventType": {
"valueSource": "Deploy",
"mappingType": "HardCoded"
},
"eventPriority": {
"valueSource": "High",
"mappingType": "HardCoded"
},
"eventSource": {
"valueSource": "Jenkins",
"mappingType": "HardCoded"
},
"eventName": {
"valueSource": "monitor-manager deployed.",
"mappingType": "HardCoded"
},
"eventDescription": {
"valueSource": "2 containers in monitor-manager were upgraded.",
"mappingType": "HardCoded"
}
}
}Response
The event extraction rule was updated.
Example response
{
"name": "foo",
"description": "foo",
"query": "_sourceCategory=eventSource",
"correlationExpression": {
"queryFieldName": "_sourcecategory",
"eventFieldName": "foo",
"stringMatchingAlgorithm": "ExactMatch"
},
"configuration": {
"eventType": {
"valueSource": "Deploy",
"mappingType": "HardCoded"
},
"eventPriority": {
"valueSource": "High",
"mappingType": "HardCoded"
},
"eventSource": {
"valueSource": "Jenkins",
"mappingType": "HardCoded"
},
"eventName": {
"valueSource": "monitor-manager deployed.",
"mappingType": "HardCoded"
},
"eventDescription": {
"valueSource": "2 containers in monitor-manager were upgraded.",
"mappingType": "HardCoded"
}
},
"id": "0000000001213227",
"enabled": true,
"disableReason": "Event Extraction Rule output exceeded maximum allowed rate of 1000 events per hour in last 24 hours."
}