--- /dev/null
+metricbeat.modules:
+- module: docker
+ metricsets: ["container", "cpu", "diskio", "healthcheck", "info", "memory", "network"]
+ hosts: ["unix:///var/run/docker.sock"]
+ period: 30s
+ enabled: true
+- module: system
+ enabled: true
+ period: 30s
+ metricsets:
+ - cpu # CPU usage
+ - load # CPU load averages
+ - memory # Memory usage
+ - network # Network IO
+ - process # Per process metrics
+ - process_summary # Process summary
+ - uptime # System Uptime
+ #- core # Per CPU core usage
+ - diskio # Disk IO
+ - filesystem # File system usage for each mountpoint
+ - fsstat # File system summary metrics
+ #- raid # Raid
+ #- socket # Sockets and connection info (linux only)
+ processes: ['.*']
+ cpu.metrics: ["percentages"] # The other available options are normalized_percentages and ticks.
+ core.metrics: ["percentages"] # The other available option is ticks.
+
+output.elasticsearch:
+ hosts: ["elasticsearch:9200"]