Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

Data prepper fails when sending traces from different EKS (multiple data prepper singletons) to ES  #479

Open
@kuberkaul

Description

@kuberkaul

Using data prepper to send traces from EKS clusters (3) to the same elastic search. This works when sending traces from just one EKS but with multiple EKS (therefore multiple data-prepper) , this fails with :

{"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [otel-v1-apm-span], an index exists with the same name as the alias","index_uuid":"0-ZhKKdyRHeJjw4QKjF-Yg","index":"otel-v1-apm-span"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [otel-v1-apm-span], an index exists with the same name as the alias","index_uuid":"0-ZhKKdyRHeJjw4QKjF-Yg","index":"otel-v1-apm-span"},"status":400}

To Reproduce
Steps to reproduce the behavior:

  1. Run data prepper as a deployment of 1 from 2 different EKS clusters sending traces to same ES
  2. data prepper : amazon/opendistro-for-elasticsearch-data-prepper:0.7.1-alpha
  3. Observe error in data-prepper as it tries to send traces

Expected behavior
Traces should be sent from both EKS clusters to ES . Alias should be configurable within data prepper configmap if need be.

Screenshots
Screen Shot 2021-04-02 at 2 08 30 PM

Am I missing something in the config ? I dont see a way to set the alias in the data prepper configmap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions