How would I use a match filter against a google stackdriver integration action payload?

olivertodhunter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 21, 2025

We are using the Stackdriver Integration actions to generate various different alerts. To achieve this, i'm trying to filter on the name of the alert policy that is received by the integration via the incoming payload. However I have no idea how to reference the field in the payload. Any pointers would be greatly appreciated.

I've tried to follow this thread here including printing the payload into the description.

https://community.atlassian.com/t5/Opsgenie-articles/How-to-Extract-Custom-Fields-and-Data-into-an-Alert/ba-p/2133902

I also tried to print out some of the payload contents (e.g by referenceing {{ _payload.documentation.content }} or {{_payload.metric.displayName}} but to no avail.

1 answer

1 accepted

0 votes
Answer accepted
Sahir Maharaj
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2025

Hello @olivertodhunter

Based on my limited experience, extracting specific fields from a payload in Stackdriver integrations often requires the correct payload syntax.

Reference the integration's documentation to confirm how to map fields properly. Using placeholders like {{_payload.metric.labels.group}} can help you retrieve the required data.

For further support, I recommend contacting Atlassian directly: https://support.atlassian.com/contact/#/.

olivertodhunter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2025

Thanks, ive escalated to support

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events