PagerTree

Hand off log alerts to PagerTree’s on-call rotations via a dedicated integration URL. Add pagertree to alert: with the endpoint Log Management should POST to. Add pagertree under alert: on your rule (you can combine destinations).

Options covers each YAML field—required first—with snippets under some keys. Full working example at the bottom is a complete rule for the Logit.io alert editor.

Options

Keys below match the ElastAlert 2 alerter. Shared rule fields such as alert_subject apply as described in Subject & body. Example fragments from the ElastAlert 2 reference appear indented under the option they illustrate (add your own name, type, index, and filter to make a full rule).

Required

  • pagertree_integration_url — URL generated by PagerTree for the integration.

Example usage

 alert:
   - "pagertree"
 pagertree_integration_url: "PagerTree Integration URL"

Optional

  • pagertree_proxy — By default ElastAlert 2 will not use a network proxy to send notifications to PagerTree. Set this option using hostname:port if you need to use a proxy. only supports https.

Full working example

name: Example alert for PagerTree
type: any
index: "*-*"
filter:
  - query:
      query_string:
        query: "level:error OR log.level:error"
alert:
  - "pagertree"
pagertree_integration_url: "https://api.pagertree.com/..."