Elasticsearch reports "400 - Rejected by Elasticsearch" errors

Solution Verified - Updated -

Issue

Seeing "400 - Rejected by Elasticsearch" errors in fluentd logs like the following:

2019-01-23 14:23:56 +0100 [warn]: dump an error event: error_class=Fluent::ElasticsearchErrorHandler::ElasticsearchError error="400 - Rejected by Elasticsearch" location=nil tag="output_tag" time=1548249831 record={"caller"=>"transactionsBusiness.go:269", "component"=>"<obfuscated>", "correlationId"=>"<obfuscated>", "dateTime"=>"2019-01-23T13:23:51.630668Z", "error"=>{"errorCategory"=>"validation", "errorCode"=>"monthlyValueLimitExceeded", "errorDateTime"=>"2019-01-23T13:23:51.623Z", "errorDescription"=>"validation_monthlyValueLimitExceeded", "errorParameters"=>[...]

Environment

  • OpenShift Container Platform
    • 3.7.72
  • Fluentd
    • 0.12.42
  • Related fluent gems:
    • 'fluent-plugin-elasticsearch' version '1.17.0'
    • 'fluent-plugin-kubernetes_metadata_filter' version '1.0.1'

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content