Skip to content

[Response Ops][Alerting] Strip unnecessary fields when updating alert mappings #211630

@ymao1

Description

@ymao1

In the upgrade to the 9.0 ES client, the deprecated body field has been removed and we encountered this issue that occurs during index mapping updates to the alert indices during startup that occurs because we simulate the update and then take the output of the simulate and use it in the subsequent PUT mapping call. For datastreams, the simulate output returns a data_stream_timestamp field that is unrecognized in the PUT mapping call. While this is a bug in the ES client, perhaps we should also be stricter about which field from the simulate output we're passing through to avoid similar issues in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:AlertingTeam:ResponseOpsLabel for the ResponseOps team (formerly the Cases and Alerting teams)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions