Please follow the steps to run the Elastic Agent on Run Elastic Agent on Kubernetes managed by Fleet page.
On managed Kubernetes solutions like AKS, Elastic Agent has no access to several data sources. Find below the list of the non available data:
Metrics from Kubernetes control plane
components are not available. Consequently metrics are not available for
kube-controller-managercomponents. In this regard, the respective dashboards will not be populated with data.
- Audit logs are available only on Kubernetes master nodes as well, hence cannot be collected by Elastic Agent.
orchestrator.cluster.urlare not populated.
orchestrator.cluster.namefield is used as a cluster selector for default Kubernetes dashboards, shipped with Kubernetes integration.
In this regard, you can use
add_fieldsprocessor to add
orchestrator.cluster.urlfields for each Kubernetes integration's component:
- add_fields: target: orchestrator.cluster fields: name: clusterName url: clusterURL
Intro to Kibana
ELK for Logs & Metrics