LogScaleAlert
PUT /api/v1/config/log-scale-alerts/{slug}
Request
- Base URLhttps://docs.chronosphere.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
slugstring required
Request body
Example request
{
"log_scale_alert": {
"log_scale_query": "level = ERROR | severity > 3 | count(as=numErrors) | numErrors > 500",
"time_window_secs": 3600
}
}Response
A successful response containing the updated LogScaleAlert.
Example response
{
"log_scale_alert": {
"log_scale_query": "level = ERROR | severity > 3 | count(as=numErrors) | numErrors > 500",
"time_window_secs": 3600
}
}Changes
No recorded changes to this operation across all 1 revision of this API.