IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Generate an ID for an event
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Generate an ID for an event
editThe add_id
processor generates a unique ID for an event.
processors: - add_id: ~
The following settings are supported:
-
target_field
-
(Optional) Field where the generated ID will be stored. Default is
@metadata._id
. -
type
-
(Optional) Type of ID to generate. Currently only
elasticsearch
is supported and is the default. Theelasticsearch
type generates IDs using the same algorithm that Elasticsearch uses for auto-generating document IDs.