Skip to content

[BUG] audit log doesn't work with aliasย #5878

@rave189

Description

@rave189

Describe the bug

I was using OpenSearch version 2.19.3.
At that time, I was able to manage the audit log settings using an alias name and a rollover policy.
However, this setting is not applied in OpenSearch versions 3.2 and 3.3.2.
Opensearch throws an error log saying that it cannot insert values โ€‹โ€‹into an index that already exists.

Related component

Indexing

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

When saving the audit log, if there is an index that already exists, please modify it to insert it into that index.

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions