create-rum-retention-filter
Create a RUM retention filter to keep specific events based on event type, sample rate, and search query.
Instructions
Create a RUM retention filter with event type, sample rate, and query
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": {
"appId": "<appId>",
"name": "<name>",
"eventType": "<eventType>",
"sampleRate": "<sampleRate>"
},
"name": "create-rum-retention-filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | RUM application ID | |
| name | Yes | Name of the retention filter. Example: Keep all errors | |
| eventType | Yes | RUM event type to filter on. Example: error | |
| sampleRate | Yes | Sample rate between 0 and 100. Example: 100 | |
| query | No | RUM search query to filter events. Example: @error.source:network | |
| enabled | No | Whether the filter is enabled. Default: true |