Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSearch Enrichment Processor #1984

Open
dlvenable opened this issue Oct 30, 2022 · 0 comments
Open

OpenSearch Enrichment Processor #1984

dlvenable opened this issue Oct 30, 2022 · 0 comments
Labels
plugin - processor A plugin to manipulate data in the data prepper pipeline.

Comments

@dlvenable
Copy link
Member

Is your feature request related to a problem? Please describe.

Pipeline authors often want to enrich Events with data from an existing OpenSearch cluster. This allows authors to enrich events with data from other events which were already sent to OpenSearch.

Describe the solution you'd like

Provide an OpenSearch enrichment processor. It would take some of the following parameters.

  • A query template which can perform queries using parameters from the input Event.
  • Document to Event mappings.
  • The same connection configuration options as available in the opensearch sink.
processor:
  - opensearch_enrichment:
        query: "requestId:${/requestId}"
        mappings:
          - from_key: "bytes"
             to_key: "bytes"
        hosts: ["https://localhost:9200"]
        cert: path/to/cert
        username: YOUR_USERNAME_HERE
        password: YOUR_PASSWORD_HERE

Context

This plugin would probably have some similarities to an OpenSearch plugin for Logstash, as proposed in the following issues.

opensearch-project/OpenSearch#1976
opensearch-project/opensearch-clients#4

@dlvenable dlvenable added the plugin - processor A plugin to manipulate data in the data prepper pipeline. label Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin - processor A plugin to manipulate data in the data prepper pipeline.
Projects
Development

No branches or pull requests

1 participant