N
N
Nikolay Baranenko2018-01-22 11:48:37
elasticsearch
Nikolay Baranenko, 2018-01-22 11:48:37

Why is the error returned Got a bad response code from server, but this code is not considered retryable. Request will be dropped?

Hello.
when logstash tries to insert new data into elasticsearch, an error is returned:

[logstash.outputs.elasticsearch] Got a bad response code from server, but this code is not considered retryable. Request will be dropped {:code=>400, :response_body=>"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"request [/_xpack/monitoring/_bulk] contains unrecognized parameters: [interval], [system_api_version], [system_id]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"request [/_xpack/monitoring/_bulk] contains unrecognized parameters: [interval], [system_api_version], [system_id]\"},\"status\":400}"}

How to deal with it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2018-01-22
@leahch

Well: it writes in black and white that it cannot recognize parameters with names
Check either the mapping or what you are sending.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question