Adding metricbeat custom fields through a logstash instance not working for me

The resulting index does work for adding one field but every configuration I tried does not work for more than one field. Below works for one field but not more than one. Not sure what I am missing. Maybe a logstash config?

meticbeat.config.modules:
path: ${path.config}/modules.d/*.yml
fields: {environment: "rrc102-198819"}
#fields: [environment: "rrc102-198819", newfield: "ffoti"]
output.logstash:
hosts: ["35.231.161.65:5041"]

This was a typo in the config. meticbeat instead of metricbeat.

Nice that you fixed it! :slight_smile:

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