Starting in version 7.16, this experimental functionality has been removed. You
should use the journald input in Filebeat instead.
Add tags
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Add tags
editThe add_tags processor adds tags to a list of tags. If the target field already exists,
the tags are appended to the existing list of tags.
-
tags - List of tags to add.
-
target -
(Optional) Field the tags will be added to. Defaults to
tags.
For example, this configuration:
processors:
- add_tags:
tags: [web, production]
target: "environment"
Adds the environment field to every event:
{
"environment": ["web", "production"]
}