Metricbeat chart does not load dashboards

Describe the bug
I'm not able to load the metricbeat dashboards in Kibana

Version of Helm and Kubernetes:

$ helm version
Client: &version.Version{SemVer:"v2.16.1", GitCommit:"bbdfe5e7803a12bbdf97e94cd847859890cf4050", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.16.1", GitCommit:"bbdfe5e7803a12bbdf97e94cd847859890cf4050", GitTreeState:"clean"}

$ kubectl version -o json
{
  "clientVersion": {
    "major": "1",
    "minor": "17",
    "gitVersion": "v1.17.2",
    "gitCommit": "59603c6e503c87169aea6106f57b9f242f64df89",
    "gitTreeState": "clean",
    "buildDate": "2020-01-18T23:30:10Z",
    "goVersion": "go1.13.5",
    "compiler": "gc",
    "platform": "linux/amd64"
  },
  "serverVersion": {
    "major": "1",
    "minor": "17",
    "gitVersion": "v1.17.2",
    "gitCommit": "59603c6e503c87169aea6106f57b9f242f64df89",
    "gitTreeState": "clean",
    "buildDate": "2020-01-18T23:22:30Z",
    "goVersion": "go1.13.5",
    "compiler": "gc",
    "platform": "linux/amd64"
  }
}

Installation & reproduction
I followed this procedure to install Elasticsearch, Kibana, and Metricbeat:

  1. helm repo add elastic https://Helm.elastic.co
  2. curl -O https://raw.githubusercontent.com/elastic/Helm-charts/master/elasticsearch/examples/minikube/values.yaml
  3. helm install --name elasticsearch elastic/elasticsearch -f ./values.yaml
  4. kubectl port-forward svc/elasticsearch-master 9200
  5. helm install --name kibana elastic/kibana --set
  6. kubectl port-forward deployment/kibana-kibana 5601 --set dashboardImport.enabled=true
  7. helm install --name metricbeat elastic/metricbeat

I see data coming to Kibana and when I try to load the dashboards via Add Metric Data -> Kubernetes or Add Metric Data -> System Metrics I get errors of the type "Could not locate that dashboard (id: Metricbeat-system-overview-ecs)"

I suppose I need to enable dashboard loading in the Metricbeat configuration, but it seems there is no option in values.yaml for Metricbeat.

You can install the dashboard by SSH into the metricbeat pod and running metricbeat setup. Be aware that this will install all modules on your system, which may be more than you really need .
https://www.elastic.co/guide/en/beats/metricbeat/current/command-line-options.html#setup-command

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.