Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tanmay-bhat/df0b35231c08327c7f1e5955ef2ece52 to your computer and use it in GitHub Desktop.
Save tanmay-bhat/df0b35231c08327c7f1e5955ef2ece52 to your computer and use it in GitHub Desktop.
How to load Kibana dashboards from metricbeat pod in kubernetes
  1. Exec into any of the metric beat pod ( part of daemon set ) :
kubectl exec -it <metricbeat-pod-name> bash -n <namespace>
  1. Run the below command :
./metricbeat setup --dashboards -E setup.kibana.host=kibana-kibana:5601

Note :

  • Setup.kibana.host is the value of kibana service name.
  • If the shell is exiting with erro code 137 while running the above command, its getting OOM while loading the dashboards.
  • In that case, increase the memory of metrcbeat daemonset for the timebeing and re-run the command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment