Stack Monitoring - Elasticsearch Nodes not displayed as monitored with Metricbeat

If anyone comes across this again:

  • I noticed the following error keep repeating in the Metricbeat logs:
{"type":"mapper_parsing_exception","reason":"failed to parse field [elasticsearch.node.stats.os.cgroup.memory.limit.bytes] of type [byte] in document with id 'redacted'. Preview of field's value: 'max'","caused_by":{"type":"number_format_exception","reason":"For input string: "max""}}, dropping event!
  • So I went to .monitoring-es-mb Index Template and changed the type of elasticsearch.node.stats.os.cgroup.memory.limit.bytes from Numeric/Long to Keyword;
  • I rolled over the .monitoring-es-8-mb data stream;
  • Metricbeat was no longer erroring out and Node Information started to be displayed in Stack Monitoring.