Created
November 21, 2016 15:34
-
-
Save andrewkroh/7a4cd3df376ec21db5884b24d43d95bb to your computer and use it in GitHub Desktop.
Metricbeat Config for Monitoring a Docker-Machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run `eval $(docker-machine env default)` to set the environment variables used below. | |
metricbeat.modules: | |
- module: docker | |
metricsets: ["cpu", "info", "memory", "network", "diskio", "container"] | |
hosts: ["${DOCKER_HOST}"] | |
ssl: | |
certificate_authority: "${DOCKER_CERT_PATH}/ca.pem" | |
certificate: "${DOCKER_CERT_PATH}/cert.pem" | |
key: "${DOCKER_CERT_PATH}/key.pem" | |
output.console.pretty: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, How to get metrics for all containers in host using metricbeat. what are the changes required in metricbeat config file.
Thanks in advance.