Skip to content

Add support for sinking data to an Opensearch instance behind a reverse proxy #6654

Closed

Description

@mconcas

Is your feature request related to a problem? Please describe.
It would be nice to have the data-prepper opensearch sink plugin to send data to a remote OS instance behind a reverse proxy.

Describe the solution you'd like
Something on this line (or a dedicated parameter) to just work.

  sink:
    - opensearch:
        hosts: "https://remote-rev.proxy.com/os"

Describe alternatives you've considered (Optional)
If the OS instance is provided by 3rd party I found no alternative, if not to rely the provider to define some ingestion aliases (to be tested). But this is completely relying on the possibility/flexibility of the provider, which is not desirable in general.

Additional context
Interest was expressed here, #310 (comment)
This is the last follow-up I found for this.

Activity

  1. dlvenable commented on Mar 24, 2026

    @dlvenable
    Member

    @mconcas ,

    I believe that Data Prepper should be able to work with OpenSearch behind a reverse proxy as it is currently. If you have a forward proxy, you would need to include a proxy URI.

    Did you try this already? If there is a problem, I'd expect that it lies more in having a path in the URL.

  2. mconcas commented on Mar 25, 2026

    @mconcas
    Author

    @mconcas ,

    I believe that Data Prepper should be able to work with OpenSearch behind a reverse proxy as it is currently. If you have a forward proxy, you would need to include a proxy URI.

    Did you try this already? If there is a problem, I'd expect that it lies more in having a path in the URL.

    With the ingestion alias it worked, so I must assume you are right, it is the path /os in the URL.
    Would it be something that can be tackled on the DP side?

  3. added 5 commits that reference this issue on Mar 25, 2026
    d9f728d
    e71eab7
    b0e0691
    299b49d
    bce7a14
  4. added 2 commits that reference this issue on May 7, 2026
    c68fb8c
    44c1c20
  5. added this to the v2.16 milestone on May 12, 2026
  6. added
    enhancementNew feature or request
    and removed
    questionFurther information is requested
    on May 12, 2026
  7. moved this from Unplanned to In review in Data Prepper Tracking Boardon May 26, 2026
  8. added a commit that references this issue on Jun 4, 2026
    f853bea
  9. added a commit that references this issue on Jul 1, 2026
    2169c2e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions