Skip to content

[Feature] Add support for audit log writing to data streams #3745

@tmanninger

Description

@tmanninger

I am using opensearch 2.11.

My auditlog config:

plugins.security.audit.config.index: opensearch-security-auditlog
plugins.security.audit.type: internal_opensearch

"opensearch-security-auditlog" is a datastream.

When opensearch is storing auditlog to the datastream, i get the following error:

java.lang.IllegalArgumentException: only write ops with an op_type of create are allowed in data streams

How can i change the op_type of the auditlogs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.v2.18.0Issues targeting release v2.18.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions