API-Referenz · Alerting · Alert processors
Create alert processor
Mutation
createAlertProcessorCreates an alert processor.
createAlertProcessor(
organizationId: ID!
processorSpec: AlertProcessorSpec!
): AlertProcessor!Argumente
Feld
Typ
Rückgabe
Feld
Typ
Beispiel
mutation CreateAlertProcessor($organizationId: ID!, $processorSpec: AlertProcessorSpec!) {
createAlertProcessor(organizationId: $organizationId, processorSpec: $processorSpec) {
id
name
isDefault
createdAt
updatedAt
configuration {
autoCreateIncidents
correlatorType
}
statistics {
totalAlertsProcessed
lastAlertProcessedAt
}
}
}Beispielantwort
{
"data": {
"createAlertProcessor": {
"id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
"name": "Example name",
"isDefault": true,
"createdAt": "2026-01-01T12:00:00Z",
"updatedAt": "2026-01-01T12:00:00Z",
"configuration": {
"autoCreateIncidents": true,
"correlatorType": "STATISTICAL"
},
"statistics": {
"totalAlertsProcessed": 1,
"lastAlertProcessedAt": "2026-01-01T12:00:00Z"
}
}
}
}