In master of k8s, /etc/metricbeat/modules.d/kubernetes.yml
# Node metrics, from kubelet:
- module: kubernetes
metricsets:
- node
- system
- pod
- container
- volume
period: 10s
hosts: ["127.0.0.1:10248"]
# Enriching parameters:
# add_metadata: true
# in_cluster: true
#labels.dedot: true
#annotations.dedot: true
# When used outside the cluster:
# in_cluster: false
#host: node_name
#kube_config: /etc/kubernetes/admin.conf
# State metrics from kube-state-metrics service:
- module: kubernetes
metricsets:
- state_node
- state_deployment
- state_replicaset
- state_statefulset
- state_pod
- state_container
period: 10s
hosts: ["10.108.106.145:8080"]
add_metadata: true
# in_cluster: true
enabled: true
# Kubernetes events
- module: kubernetes
enabled: false
metricsets:
- event
But in [Dashboard]/[Metricbeat Kubernetes] Overview ECS, the last 4 visualizations has no data.
How to show data in these visualizations? Thanks.