Skip to content

Support agent.features.include_tags_in_events - attach agent tags to collected events #15375

Description

@nchaulet

Summary

Part of the "Agent tags propagation" design (related issue: elastic/kibana#271551). Fleet agent tags are not currently forwarded into the events (logs, metrics, traces) collected by the agent, making them unusable for filtering/dashboarding. This issue tracks the agent-side change needed to close that gap.

Proposed change

  • Support the new policy field agent.features.include_tags_in_events (boolean, injected by Fleet Server, see fleet-server issue).
  • When enabled, add a global processor that sets tags on outgoing events using the value from agent.tags (also injected by Fleet Server).
  • agent.features.include_tags_in_events and agent.tags should also be passed through to Endpoint so it can apply the same tagging to its own data.

Related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions