Metricbeat and mongo db replication

I have a mongodb replication on 3 servers.
I'm configuring the metricbeat on the Central Beat Management, and I'm not sure what's the best practice- writing the three servers on the host section, or writing localhost:27017
And should I apply the configuration tag on all three servers or just one? I'm afraid of duplicated logs

@leek If I remember correctly you have to use the localhost:27017 options so each Metricbeat fetch the configuration for the local mongo db.

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