update-logs-metric
Update filter, group-by, or percentile settings for a log-based metric to refine data aggregation and tracking.
Instructions
Update a log-based metric's filter, group-by, or percentile settings
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": {
"metricId": "<metricId>"
},
"name": "update-logs-metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metricId | Yes | The name of the log-based metric to update | |
| includePercentiles | No | Whether to include percentile aggregations. Only for distribution metrics | |
| filterQuery | No | Updated log search query to filter events | |
| groupBy | No | Updated fields to group the metric by |