Skip to content

Support AWS SigV4 in the http output plugin #4444

Closed
@dlvenable

Description

@dlvenable

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

We would like to enable Fluentd to write to Amazon OpenSearch Ingestion (OSIS). The current http output plugin in Fluentd can write to open-source Data Prepper's http source plugin, which OSIS supports.

All OSIS pipelines require AWS SigV4 authentication which the Fluentd http output plugin does not support.

Describe the solution you'd like

Provide an AWS SigV4 option in Fluentd's http output plugin. Create a new auth option named aws_sigv4. Add options with the aws_ prefix to support AWS configurations.

  <auth>
    method aws_sigv4
    aws_service osis
    aws_region us-east-1
    aws_role_arn arn:aws:iam::123456789012:role/MyRole
  </auth>

The aws_role_arn will be optional. If not provided, the plugin will use the default credential chain. If provided, the plugin will assume the role supplied by aws_role_arn.

Describe alternatives you've considered

One alternative considered is a new OSIS output plugin. However, this seems unnecessary as the http plugin is sufficient. Also, there may be other use-cases of writing http to other AWS services.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request*Deprecated Label* Use enhancement label in general

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions