The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

OPSGenie and Elasticsearch alerting

Alfredo De Luca
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!
February 16, 2021

Hi all. 

I have elasticsearch alerting and it works fine but I can't add OPSGenie webhook as it doesn't work at moment. 

Any other idea to connect them both? 

I am using elastic watcher but it's a bit of a pain and not easy to use.

 

Cheers

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jürgen Kaiser
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!
February 26, 2021

Correct.

 

Elastic offers you to perform some action when your, let's say, uptime alert recovers and you could configure Elastic to send something to the alert-close endpoint (https://docs.opsgenie.com/docs/alert-api#close-alert). HOWEVER, the endpoint wants an identifier as part of the url which you can not dynamically add in elastic. You could add it easily in the payload, though, but this does not help.

0 votes
Matthias Bach
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!
February 26, 2021

Another option is to utilise the webhook adapter in Elastic to call the Alert creation API from an Alert action. However, if you also want Elastic to close your alerts that means you'll have to set it to resend the alert on each interval and utilise an Auto-Close policy on the Opsgenie side. So overall that is more of a hack than a solution.

TAGS
AUG Leaders

Atlassian Community Events