Hello, I would like to know how it is possible to set the priority using message's attribute in Opsgenie through the integration with AWS through SNS.
I have tried the following code:
"MessageAttributes": {
"teams": {"Type": "String", "Value": "TeamA"},
"alias": {"Type": "String", "Value": "myAlias"},
"eventType": {"Type": "String", "Value": "create"},
"priority": {"Type": "String", "Value": "P1"},
"tags": {"Type": "String", "Value": "RDS"}
}
All the fields work except the priority one that assigns always P3 by default or not found mapping value, any idea?
I checked out documentation but nothing useful :(
Thank u
Related more in depth article on how this can be done as well:
Hi @Jose_Martin ,
Thanks for reaching out. This similar community post may help with your issue: https://community.atlassian.com/t5/Opsgenie-questions/Mapping-alert-values-from-Solarwinds/qaq-p/1327612
^ Although related to Solarwinds, the concept is the same. AWS's priority might vary from Opsgenie's so it will not map 1-to-1.
Depending on which field (like the Subject, AlarmDescription, etc.) the AWS priority is being parsed in, multiple Create Alert actions can be added to the integration that filter on this -> then map to the corresponding Opsgenie priority.
Example:
If you have any additional details, screenshots, examples, etc. of your AWS alerts defaulting to P3s, I could provide some more suggestions. Let us know, or if this helps!
Best,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.