Hello,
I am using Metricbeat in docker to monitor my systems Metrics as well as my docker metrics.
Unfortunately, i get an error in Kibana showing this: 
My metricbeat config looks like this:
    metricbeat.autodiscover:
  providers:
    - type: docker
      hints.enabled: true
metricbeat.modules:
#- module: nginx
#  enabled: true
#  metricsets: ["stubstatus"]
#  period: 20s
#  hosts: ["http://nginx:80"]
#  server_status_path: "server-status"
- module: docker
  metricsets:
    - "container"
    - "cpu"
    - "diskio"
    - "event"
    - "healthcheck"
    - "info"
    #- "image"
    - "memory"
    - "network"
  hosts: ["unix:///var/run/docker.sock"]
  period: 30s
  enabled: true
- module: system
  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
    - socket_summary  # Socket summary
    #- 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)
  enabled: false
  period: 20s
  processes: ['.*']
  # Configure the metric types that are included by these metricsets.
  cpu.metrics:  ["percentages"]  # The other available options are normalized_percentages and ticks.
  core.metrics: ["percentages"]  # The other available option is ticks.
My Docker Compose file looks like this:
services:
metricbeat:
container_name: metricbeat
build: ${PWD}/config/metricbeat
restart: always
user: root
volumes:
- /proc:/hostfs/proc:ro
- /sys/fs/cgroup:/hostfs/sys/fs/cgroup:ro
- /:/hostfs:ro
- /var/run:/var/run
networks:
- push-network
command: metricbeat -e -system.hostfs=/hostfs
In discover, I can see the incoming data from my different docker containers:
Does anyone has an idea how to fix this?
Thanks! ![]()

