Alert Enable/Disable Lifecycle
A 4-step recipe with Logz.io. We can help you get access.
Recipe · 4 steps
Alert Enable/Disable Lifecycle
with Logz.io
Create an alert then toggle it disabled and enabled, confirming final state.
- Create the alert that will be cycled through disable and enable states.
- Disable the alert by its id so it will not fire during the maintenance window.
- Re-enable the alert by its id once the maintenance window is over.
- Read the alert back to confirm it is enabled again after the cycle.
What you'll need to have ready
- apiToken: Logz.io API token sent in the X-API-TOKEN header.
- alertTitle: Title for the new alert.
- query: Lucene search query the alert evaluates against the logs.
For your developer
Arazzo workflow logz-io:alert-lifecycle, 4 operations: createAlert → disableAlert → enableAlert → getAlert. Specs on APIs.io.