You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi! How can I parse messages from AWS SNS in JSON format for getting the "attributes.severity" value?
I have alert manager with next configuration.
Could anyone tell me how OpsGenie parse JSON messages?
For visibility to Community, we were able to get the priority parsing as expected by using this custom field @Dmitry Petriev already was extracting, but replaced it into the Custom Value to Opsgenie Priority:
For more on extracting custom fields as well, this Community Article might be helpful for others!
Hi @Dmitry Petriev ,
This article might help on how to extract "P2" into the alert: How to Extract Custom Fields and Data into an Alert
It'd realistically depend on how this field / value is being parsed in the alert's payload. I believe you're sharing what is sending from Alertmanager or AWS, so you'd want to review the Opsgenie Logs tab to get a better idea on what string processing or regex can be used.
We'd have to review the entire payload / Logs to provide a reason why this might not be parsing as expected.
Please open a ticket with Opsgenie support so we can review your account: https://support.atlassian.com/opsgenie/