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

(Frank J. Foti) #1

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?

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

(Frank J. Foti) #2

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

(Mario Castro) #3

Nice that you fixed it! :slight_smile:

(system) closed #4

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