Capturing metrics from all nodes in a docker swarm

I have a Docker Swarm with a total of 4 nodes (1 leader, 3 workers), and I've been using Metricbeat to capture system metrics (CPU, etc.). Metricbeat is installed on all four nodes, but outside of Docker. Each node sends metrics to a separate ES index. I can see some docker metrics on the lead node (where ELK is also installed), but I want to see docker metrics for all of the nodes. How do I do this?

  1. Do I just enable docker metrics on the other nodes? If so, do I need to send all the information to one single ES index?
  2. Do I need to redo the installation and install Metricbeat with docker? Does this go on all four nodes?
    Any help greatly appreciated!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.