Skip to content

External ECS field imports not containing their multi-fields #678

Closed
@ebeahan

Description

@ebeahan

Summary

The expected multi-fields are not imported when external ECS fields are declared. I suspect this is the cause of some integrations not including the anticipated multi-fields in their index templates.

I first experienced on 7.16.3 using the Windows 1.5.0 integration. The logs-windows.sysmon_operational managed index template is missing process.command_line.text.

Example

Declaring an external field with process.command_line:

- name: process.command_line
  external: ecs

produces an index mapping of:

    "process": {
      "properties": {
            "command_line": {
              "type": "wildcard"
            }
          }
        }

In ECS, process.command_line contains the .text multi-field.

The expected field mapping:

    "process": {
      "properties": {
            "command_line": {
              "type": "wildcard",
              "fields": {
                "text": {
                  "type": "match_only_text"
                }
              }
            }
        }

Metadata

Metadata

Assignees

Labels

Team:EcosystemLabel for the Packages Ecosystem team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions