[Fleet] Remove short-term solution to detecting ESS cname & URL #120497
Labels
Feature:Unified Integrations
Unified Integrations view feature
Team:Fleet
Team label for Observability Data Collection Fleet team
technical debt
Improvement of the software architecture and operational architecture
In 7.16 we added a deployment details pop-out on the Unified Integrations app to help users find their public URL for connecting to Elasticsearch.
Because Kibana does not know the public URL for on-prem deployments or ECE deployments, we added a less than ideal solution that matches on ESS's known public cnames to determine if we should show the pop-out or not:
kibana/x-pack/plugins/fleet/public/applications/integrations/components/header/deployment_details.tsx
Lines 29 to 40 in 194bddf
We should replace this with a dedicated config value passed into the
xpack.cloud.*
config that includes the public ES URL. Something likepublicElasticsearchUrl
. Instead of being Cloud-specific, this could also be a generic feature that we could use for on-prem as well. For instance this could be supplied to the Core config keyelasticsearch.publicUrl
which we could then populate on ESS, ECE, and document for users to configure themselves. cc @elastic/kibana-coreThe text was updated successfully, but these errors were encountered: