[ResponseOps][Connectors] Opsgenie Connector #142776
Labels
Feature:Actions/ConnectorsManagement
Issues related to Connectors Management UX
Feature:Actions/ConnectorTypes
Issues related to specific Connector Types on the Actions Framework
Feature:Actions
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
v8.6.0
v8.7.0
Summary
This issue describes the work for the MVP Opsgenie connector.
Users would like to push Kibana alerts to Opsgenie. To facilitate this we will create an external integration.
Related issue: #56403
Requirements
The MVP does not include creating incidents from Cases.
License
platinum
levelLimitations
Design
In the current actions framework design, a user will need to create two separate actions to manage creating and closing Opsgenie alerts. The work for this connector will include investigating how to make it easier for users to setup the action to close the alert within Opsgenie when the alert recovers within Kibana.
Deduplication
Opsgenie provides the
alias
key to provide alert deduplication (their docs). The connector will expose this field and default it to the mustache template{{rule.id}}:{{alert.id}}
. The same key will be used to close an alert. Opsgenie guarantees that only one alert can be open with a single alias. If another Kibana alert is generate that would create another Opsgenie alert with the same alias, Opsgenie will increase a counter within the existing alert.Opsgenie requires that the alias be no more than 512 characters. It is possible (but unlikely) that
{{rule.id}}:{{alert.id}}
can result in a value longer than the Opsgenie limit. If the resulting alias would be greater than 512 characters, the connector will hash the value using sha256 and use the result as the alias instead.Implementation
We use multiple phases to implement the functionality for the connector. This section will outline the functionality that will be built within each phase. The goal is to complete phases 1-3.
Phase 1 - Completed
alias
,description
,responders
,visibleTo
,actions
,tags
,details
,entity
,source
,priority
,user
, andnote
Opsgenie create alert docsuser
,source
,note
Opsgenie close alert docsmessage
,description
, andalias
fields will be supported for creating an alertalias
andnote
fields will be included in the form for closing an alertPhase 2 (#143480)
run when
istrigger/create
then default the action's value tocreate
and hide the field for selecting the actionrun when
isrecover
then default the action's value toclose
and hide the field for selecting the actionMore options
section that is initially hidden. For the complex fields, users can leverage the JSON editor to create themPhase 3
description
field when creating an alertOpen questions
What license level is required for access to this connector?platinum
Leverage Opsgenie Integration
Opsgenie has an integration marketplace, we need to investigate what support an Elastic integration would provide. Depending on the level of effort to create the integration it could be included in the MVP.
The text was updated successfully, but these errors were encountered: