Skip to main content

Mappers

A mapper is a Hamelin query that reads a parser's table and normalizes its fields into ECS.

A mapper lives under an integration and reads one or more parser tables. Every mapper in an integration becomes a named branch of the integration's composite view, which produces the normalized events_ecs.<integration> dataset that detections read. A mapper's id is prefixed MPR_.

Inputs​

FieldTypeRequiredDescription
namestringRequiredMapper name within the integration. Becomes the branch identifier in the integration's composite view, lowercased and sanitized. Must start with a letter, end with a letter, number, underscore, or closing parenthesis, and contain only letters, numbers, spaces, underscores, hyphens, dots, or parentheses.
querystringRequiredThe Hamelin query that reads parser tables and produces ECS output.
deploybooleanOptionalWhether the mapper is live in the integration's composite view. true includes its normalized output in the events_ecs.<integration> dataset. false leaves it as saved content. Default false.
parserIdsarray<string>OptionalThe parsers whose tables this mapper reads, each prefixed PRS_.

Outputs​

FieldTypeDescription
deploymentStatusenumDeployment state of the mapper: UNDEPLOYED, DEPLOY_PENDING, DEPLOY_IN_PROGRESS, DEPLOYED, UPDATE_PENDING, UPDATE_IN_PROGRESS, REFRESH_IN_PROGRESS, FAILED, ARCHIVED, CLEANUP_PENDING, CLEANUP_IN_PROGRESS.

Plus the common resource fields.