alertmanager / alert_manager

Splunk Alert Manager with advanced reporting on alerts, workflows (modify assignee, status, severity) and auto-resolve features
Other
81 stars 44 forks source link

Fixed alert.priority not looking up using search result and template path swapped issue #277

Closed PerryCodekies closed 2 years ago

PerryCodekies commented 3 years ago

As stated in 'Add action': "Default impact for incidents of this alert. Note: The impact can be overriden by a field from search results named 'impact'. Later, the alert manager calculates a priority based on the impact and urgency."

That is not the case. Orginally, the result.impact and result.urgency is not used to lookup alert.priority, thus, causing other errors. For example, $alert.priority$ in email is using the the payload.configuration.impact & payload.configuration.urgency for lookup.

PerryCodekies commented 3 years ago

@my2ndhead would you please kindly review? Thanks.

my2ndhead commented 2 years ago

Implemented in 3.0.9