Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Enable metricbeat docker module #94

Closed
orangevinz opened this issue Jul 23, 2020 · 2 comments
Closed

Enable metricbeat docker module #94

orangevinz opened this issue Jul 23, 2020 · 2 comments
Labels

Comments

@orangevinz
Copy link

Beats product: MetricBeat

Beats version: 7.8

The docker module is not displayed when I do metricbeat modules list
Only system appears.
Do I have to exec a command in my role like metricbeat modules enable docker ?

beat: metricbeat
beat_conf:
    cloud:
        id: '{{ elastic.cloud.id }}'
        auth: '{{ elastic.cloud.auth }}'
    setup:
        dashboards.enabled: true
        ilm:
            overwrite: true
    metricbeat.modules:
        - 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
              - socket         # Sockets and connection info (linux only)
              - service        # systemd service information
          enabled: true
          period: 10s
          processes: [".*"]
          cpu_ticks: false
        - module: docker
          metricsets:
              - container
              - cpu
              - diskio
              - event
              - healthcheck
              - info
              - image
              - memory
              - network
          hosts: ["unix:///var/run/docker.sock"]
          period: 10s
          enabled: true
    metricbeat:
        config:
            modules:
                path: '${path.config}/modules.d/*.yml'

@jmlrt jmlrt added the question label Jul 23, 2020
@jmlrt
Copy link
Member

jmlrt commented Jul 23, 2020

Hi @orangevinz, yes it is. ansible-beats doesn't support modules management yet.

@jmlrt
Copy link
Member

jmlrt commented Jul 27, 2020

For reference the feature request to support modules management is #44.

Closing this one.

@jmlrt jmlrt closed this as completed Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants