Hi, I'm sometimes getting a "400 Bad Request. Bad number of command parts" error for requests to an aws hosted elasticsearch service. It doesn't happen all the time, so it's not a problem with the connection, but sometimes I get:
2016-06-17 16:42:40,873 ERROR o.e.m.ElasticsearchReporter [metrics-elasticsearch-reporter-1-thread-1] - Reporting returned code 400 Bad Request. Bad number of command parts ['{"index":{"_index":"ott-metrics-2016-06","_type":"gauge"}}', '{"name":"ott.exec.parallel.active.thread.count","@timestamp":"2016-06-17T15:42:40.000+0000","value":0}', '{"index":{"_index":"ott-metrics-2016-06","_type":"gauge"}}', '{"name":"ott.exec.parallel.largest.thread.count","@timestamp":"2016-06-17T15:42:40.000+0000","value":0}', '{"index":{"_index":"ott-metrics-2016-06","_type":"gauge"}}', '{"name":"ott.exec.parallel.queue.size","@timestamp":"2016-06-17T15:42:40.000+0000","value":0}', 'POST', 'http://...<snip>.../_bulk', 'HTTP/1.1']: {}
Hi, I'm sometimes getting a "400 Bad Request. Bad number of command parts" error for requests to an aws hosted elasticsearch service. It doesn't happen all the time, so it's not a problem with the connection, but sometimes I get:
2016-06-17 16:42:40,873 ERROR o.e.m.ElasticsearchReporter [metrics-elasticsearch-reporter-1-thread-1] - Reporting returned code 400 Bad Request. Bad number of command parts ['{"index":{"_index":"ott-metrics-2016-06","_type":"gauge"}}', '{"name":"ott.exec.parallel.active.thread.count","@timestamp":"2016-06-17T15:42:40.000+0000","value":0}', '{"index":{"_index":"ott-metrics-2016-06","_type":"gauge"}}', '{"name":"ott.exec.parallel.largest.thread.count","@timestamp":"2016-06-17T15:42:40.000+0000","value":0}', '{"index":{"_index":"ott-metrics-2016-06","_type":"gauge"}}', '{"name":"ott.exec.parallel.queue.size","@timestamp":"2016-06-17T15:42:40.000+0000","value":0}', 'POST', 'http://...<snip>.../_bulk', 'HTTP/1.1']: {}