elastic / kibana

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

[Remote Clusters] Clean up values sent to the es api when switching between modes #156354

Open sabarasaba opened 1 year ago

sabarasaba commented 1 year ago

When creating a new remote cluster configuration we end up with values from the mode that is not enabled set as undefined in the request.

For example when creating a sniff mode configuration we have these 3 properties set as null but they belong to proxy mode instead:

    "proxy_address": null,
    "proxy_socket_connections": null,
    "server_name": null,

Same happens when creating a proxy mode, we end up with a few null values belonging to sniff mode.

elasticmachine commented 1 year ago

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

alisonelizabeth commented 1 year ago

I'm going to reopen this one, since we reverted https://github.com/elastic/kibana/pull/162780.

elasticmachine commented 5 days ago

Pinging @elastic/kibana-management (Team:Kibana Management)