Skip to content

[AWS] event.dataset is not correct if data_stream.dataset is set to a customized value #8810

@kaiyan-sheng

Description

@kaiyan-sheng

Similar to #7654 we are seeing the same issue in the AWS integration. When user customizes the dataset name when installing integration, event.dataset is wrong. Then event ingestion will fail with error:

"2023-12-18T06:57:54.078Z" [constant_keyword] field [event.dataset] only accepts values that are equal to the value defined in the mappings [aws.cloudwatch_logs], but got [foo]\"}}, dropping event!

This field should be added by the agent so we should remove hardcoded value for event.dataset in all integrations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    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