Skip to content

[libbeat] add_nomad_metadata - Typo in indexer name for 'allocation_uid'Β #29743

Open
@andrewkroh

Description

@andrewkroh

The name of the indexer should be allocation_uuid. That is how it is shown in the documentation at https://www.elastic.co/guide/en/beats/heartbeat/7.16/add-nomad-metadata.html#_fields_2.

The error that you get when trying to use the documented config is:

{
  "log.level": "warn",
  "@timestamp": "2022-01-07T14:52:37.228Z",
  "log.origin": {
    "file.name": "add_nomad_metadata/indexers.go",
    "file.line": 55
  },
  "message": "Unable to find indexing plugin allocation_uuid",
  "service.name": "filebeat",
  "ecs.version": "1.6.0"
}

The affected code is:

AllocationUUIDIndexerName = "allocation_uid"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions