fluent-plugin-out-http icon indicating copy to clipboard operation
fluent-plugin-out-http copied to clipboard

Error 422

Open ktorunskilh opened this issue 5 years ago • 0 comments

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

ktorunskilh avatar Jun 25 '20 14:06 ktorunskilh