Add tags
editAdd 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.
Example
editThis configuration:
- add_tags: tags: [web, production] target: "environment"
Adds the environment
field to every event:
{ "environment": ["web", "production"] }
Configuration settings
editElastic Agent processors execute before ingest pipelines, which means that they process the raw event data rather than the final event sent to Elasticsearch. For related limitations, refer to What are some limitations of using processors?
Name | Required | Default | Description |
---|---|---|---|
|
Yes |
List of tags to add. |
|
|
No |
|
Field the tags will be added to. Setting tags in |