elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.61k stars 8.21k forks source link

Synthetics - PUT method for HTTP Ping monitors #197356

Open gui-elastic opened 1 week ago

gui-elastic commented 1 week ago

Kibana version: 8.15.2

Elasticsearch version: 8.15.2

Original install method (e.g. download page, yum, from source, etc.): All of them

Describe the bug:

The PUT method is not supported to be used when using the HTTP Ping monitors (or HTTP monitors for Heartbeat), however, it is displayed in the Kibana UI during the monitor creation. If the PUT is selected, the monitor will be created, but it will fail with the following error message:

job could not be initialized: HTTP method 'PUT' not supported accessing 'streams.0.check.request'

Image

Steps to reproduce:

When accessing the Kibana UI -> Synthetics -> Create Monitor and selecting the HTTP Ping mode, when selecting the Request Method option, the PUT method is displayed as a possibility to be chosen:

Image

However, it should not, as lightweight monitors do not support this method.

Expected behavior: Either support the PUT method for HTTP Ping monitors or disable this option from the UI, to avoid unexpected behaviors.

elasticmachine commented 1 week ago

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)