kibana/x-pack/plugins/cloud
Spencer 4385ac4d83
[eslint] enable type-specific lint rules (#114184)
* [eslint] enable type-specific lint rules

* autofix violations

* duplicate eslint-disable to new export statement

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 16:56:17 -06:00
..
common Add snapshotsUrl to Cloud plugin public interface. (#110328) 2021-09-01 14:42:01 -07:00
public [eslint] enable type-specific lint rules (#114184) 2021-11-03 16:56:17 -06:00
server [eslint] enable type-specific lint rules (#114184) 2021-11-03 16:56:17 -06:00
jest.config.js [jest] update config files to get coverage per plugin (#111299) 2021-09-09 08:14:56 +02:00
kibana.json Adds team details to core/telemetry/localization-owned plugins (#107843) 2021-08-09 20:45:25 -04:00
README.md Add snapshotsUrl to Cloud plugin public interface. (#110328) 2021-09-01 14:42:01 -07:00
tsconfig.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00

cloud plugin

The cloud plugin adds Cloud-specific features to Kibana.

Client-side API

The client-side plugin provides the following interface.

isCloudEnabled

This is set to true for both ESS and ECE deployments.

cloudId

This is the ID of the Cloud deployment to which the Kibana instance belongs.

Example: eastus2.azure.elastic-cloud.com:9243$59ef636c6917463db140321484d63cfa$a8b109c08adc43279ef48f29af1a3911

NOTE: The cloudId is a concatenation of the deployment name and a hash. Users can update the deployment name, changing the cloudId. However, the changed cloudId will not be re-injected into kibana.yml. If you need the current cloudId the best approach is to split the injected cloudId on the semi-colon, and replace the first element with the persistent.cluster.metadata.display_name value as provided by a call to GET _cluster/settings.

baseUrl

This is the URL of the Cloud interface.

Example: https://cloud.elastic.co (on the ESS production environment)

deploymentUrl

This is the path to the Cloud deployment management page for the deployment to which the Kibana instance belongs. The value is already prepended with baseUrl.

Example: {baseUrl}/deployments/bfdad4ef99a24212a06d387593686d63

snapshotsUrl

This is the path to the Snapshots page for the deployment to which the Kibana instance belongs. The value is already prepended with deploymentUrl.

Example: {deploymentUrl}/elasticsearch/snapshots

profileUrl

This is the path to the Cloud User Profile page. The value is already prepended with baseUrl.

Example: {baseUrl}/user/settings/

organizationUrl

This is the path to the Cloud Account and Billing page. The value is already prepended with baseUrl.

Example: {baseUrl}/account/

cname

This value is the same as baseUrl on ESS but can be customized on ECE.

Example: cloud.elastic.co (on ESS)