Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support scheme field when creating a Threshold alert with a Webhook action #44004

Closed
cjcenizal opened this issue Aug 26, 2019 · 6 comments · Fixed by #53757
Closed

Support scheme field when creating a Threshold alert with a Webhook action #44004

cjcenizal opened this issue Aug 26, 2019 · 6 comments · Fixed by #53757
Assignees
Labels
enhancement New value added to drive a business result Feature:Watcher good first issue low hanging fruit Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@cjcenizal
Copy link
Contributor

cjcenizal commented Aug 26, 2019

Per the docs, the Watcher API supports a scheme field when creating a webhook action, which accepts "http" and "https" as values. We need to update the UI and serialization logic to support this field.

image

@cjcenizal cjcenizal added enhancement New value added to drive a business result Feature:Watcher Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Aug 26, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui

@cjcenizal
Copy link
Contributor Author

This problem has also been reported on the forums: https://discuss.elastic.co/t/simple-watcher-webhook/201471/5

@jkelastic jkelastic self-assigned this Dec 5, 2019
@michaeljohnbennett
Copy link

in the interim how can I work around this? I'm posting to telegram webhook but it's failing as its HTTPS only?

Will I need to get the request json and push it manually via postman or the like to update?

@alisonelizabeth
Copy link
Contributor

Hi @michaeljohnbennett! There is currently no workaround via the threshold alert. However, you can create an advanced watch through the Watcher UI and specify the scheme as part of the watch JSON. You may also go to DevTools in Kibana, open Console, and create the watch using the Watcher API.

Here is some more information:

@brotherat
Copy link

Another detail about this issue is that when a webhook, created via json file, with setting “"scheme": "https",” in it, is being edited via the GUI, it automatically changes the value of “scheme” to “http”

@alisonelizabeth
Copy link
Contributor

Thanks @brotherat! We are actively working on a fix via #53757.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Watcher good first issue low hanging fruit Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants