Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 770 Bytes

processor-add_id.asciidoc

File metadata and controls

36 lines (27 loc) · 770 Bytes

Generate an ID for an event

add_id

The add_id processor generates a unique ID for an event.

Example

  - add_id: ~

Configuration settings

Name Required Default Description

target_field

No

@metadata._id

Field where the generated ID will be stored.

type

No

elasticsearch

Type of ID to generate. Currently only elasticsearch is supported. The elasticsearch type uses the same algorithm that {es} uses to auto-generate document IDs.