Skip to content

Error 422  #59

Open
Open
@ktorunskilh

Description

@ktorunskilh

Problem

I'm unable to catch that out_http plugin was not able to send message. We are receiving error.

failed to POST https://xx.xx.xx.xx/ (422 Unprocessable Entity {"message":"The given data was invalid.","success":false,"status":422,"errors":{"data.status":["The data.status field is required."]}})

Expected Behavior or What you need to ask

Will be possible to forward this to @error label or increase counter in prometheus metric fluentd_output_status_num_errors

Using Fluentd and out_http plugin versions

  • Docker
  • Fluentd 1.9.2
  • out_http plugin 1.3.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions