Hello all,
I am trying to get my Metricbeat docker module to connect to my ES/Kibana. I believe the issue is isolated to the docker module as I am able to see system module metrics.
I have enabled the module
root@hostname:/etc/metricbeat# metricbeat modules list
Enabled:
docker
system
This is my docker.yml
metricbeat.modules:
- module: docker
  metricsets:
    - "container"
    - "cpu"
    #- "diskio"
    #- "event"
    #- "healthcheck"
    #- "info"
    #- "image"
    - "memory"
    #- "network"
    #- "network_summary"
  hosts: ["unix:///var/run/docker.sock"]
  period: 10s
  enabled: true
I am not dropping the fields but here is my metricbeat.yml config as well just in case:
# =========================== Modules configuration ============================
metricbeat.config.modules:
  # Glob pattern for configuration loading
  path: ${path.config}/modules.d/*.yml
  # Set to true to enable config reloading
  reload.enabled: false
  # Period on which files under path should be checked for changes
  #reload.period: 10s
# ======================= Elasticsearch template setting =======================
setup.template.settings:
  index.number_of_shards: 1
  index.codec: best_compression
  #_source.enabled: false
# =================================== Kibana ===================================
# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.
# This requires a Kibana endpoint configuration.
setup.kibana:
  host: "http://IP"
  ssl.enabled: false
# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: ["http://IP"]
  ssl.verification_mode : "none"
  # Performance preset - one of "balanced", "throughput", "scale",
  # "latency", or "custom".
  preset: balanced
  # Protocol - either `http` (default) or `https`.
  protocol: "http"
  username: "elastic"
  password: "password"
# ================================= Processors =================================
# Configure processors to enhance or manipulate events generated by the beat.
processors:
  - drop_fields:
      fields: ["system.entropy.*", "system.memory.swap.*", "system.process.cgroup.*"]
I have restarted the service as well.
And... I am kind of at a loss for why it's not working. Any assistance would be really helpful!
Thanks!