elastic / kibana

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

[Serverless] Allow Kibana interact with AutoOps API #193234

Open YulNaumenko opened 2 months ago

YulNaumenko commented 2 months ago

Kibana expects to get the AutoOps API parameters from the kibana.yaml to start communicating with the API for fetching the data usage metrics. In Serverless projects, Kibana config is controlled by the project-controller and it should set 5 new parameters, all behind a new feature flag.

Set the AutoOps configuration for Kibana instances in all Serverless projects

xpack.dataUsage.autoops.enabled: true
xpack.dataUsage.autoops.api.url: https://autoops-api.elastic-system.svc.cluster.local
xpack.dataUsage.autoops.api.tls.certificate: /mnt/elastic-internal/http-certs/tls.crt
xpack.dataUsage.autoops.api.tls.key: /mnt/elastic-internal/http-certs/tls.key
xpack.dataUsage.autoops.api.tls.ca: /mnt/elastic-internal/http-certs/ca.crt
elasticmachine commented 2 months ago

Pinging @elastic/security-solution (Team: SecuritySolution)