Skip to content

Using opensearch pipelines to retrieve data from http endpoint that requires authentication

0

I want to ingest data using an opensearch pipeline (dataprepper).

My endpoint is a CRM system with an API,

The workflow looks like this:

  1. authenticate with server, receive token
  2. use creds stored in secrets manager + token to make a POST request to an API endpoint to get a list of results
  3. other API requests to enrich the data

Does data prepper support fetching data from an authenticated http endpoint, as opposed to waiting to receive it, like a web hook.

If so anyone got any examples of templates with this sort of thing?

asked a year ago58 views
1 Answer
0

Hello,

According to Data Prepper's http source documentation, only HTTP Basic Auth is supported "out of the box". So, you'll have to implement an authentication plugin for the Data Prepper.

Judging by your list, I might recommend using a set of Lambda functions to retrieve data sets and save them into an S3 bucket. Then, you could load the data into Open Search using Data Prepper's pipeline with an s3 source.

However, be aware, that Data Prepper is not a part of the Open Search deployment package, but a separate Docker container. Thus, you will need a place to run it (EC2, ECS etc).

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.