Skip to content

Add event.zone and event.environment fields #2306

@mbudge

Description

@mbudge

We have beats/elastic-agent collecting log data from many different regional offices, cloud environment's and third-party services.

We do zone tagging to make it easier for security analysts/IT select the metrics/logs in a specific zone. During triage of security alerts this also helps analysts know which IT team is responsible for the host/service which caused the security alert.

zone: the network zone the event was collected from
environment: the environment within the above network zone

zone can be a

country code like uk, us, ca, ky
cloud name like gcp, azure, oci or aws
for third-party services the zone is api or external

environment can be

prod
production
dev
development
non-prod
test
uat

Would the following fields be a good additions to ecs?

event.zone
event.environment

Examples of event.zone

event.zone:ca
event.zone:us
event.zone:uk
event.zone:gb
event.zone:ir
event.zone:sa
event.zone:aws
event.zone:gcp
event.zone:oci
event.zone:azure
event.zone:api
event.zone:external

examples of event.envrionment

event.environment:prod
event.environment:non-prod
event.environment:dev
event.environment:test
event.environment:uat

These fields would be set in the Fleet Policy settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions