Logz.io alerts use a Kibana search query to continuously scan your logs and alert you when a certain set of conditions is met. The simplest alerts can use a simple search query or a particular filter, but others can be quite complex and involve several conditions with varying thresholds.
When alerts trigger, they write event logs. Event logs of triggered alerts are always available and searchable in Kibana - just filter for
_exists_:logzio-alert. But you also have the option to add notifications, and control their contents, format, and who they are sent to.
For the deprecated alerting version, please see our public GitHub project.
Retrieve all alerts
Returns the complete list of all alerts configured for the account.
Create an alert
Configures and activates a new alert.
Retrieve alert by ID
Returns alert details by alert ID.
Update an alert
Applies changes to an alert, identified by its ID. Can be used to enable or disable the alert.
Delete an alert
Deletes an alert identified by its ID.
Enable alert by ID
Enables an alert by its alert ID. This is reversible. The alert can be disabled again at any time.
Disable alert by ID
Disables an alert by its alert ID. This is reversible. The alert can be enabled again at any time.
Retrieve triggered alerts
Returns a paged filtered list of triggered alerts for your accounts.