There is a error in my logstash's logs. No idea whats happening. I keep getting this error time to time. Does anyoen know whats need to be done to solve this?
docker-compose configurations-
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.15
environment:
ES_JAVA_OPTS: '-Xms256m -Xmx256m'
xpack.security.enabled: 'false'
xpack.monitoring.enabled: 'false'
xpack.graph.enabled: 'false'
xpack.watcher.enabled: 'false'
volumes:
- loggingvol:/usr/share/elasticsearch/data
ulimits:
nofile:
soft: 65536
hard: 65536
logstash:
image: docker.elastic.co/logstash/logstash:5.3.2
volumes:
- /home/ec2-user/logstash/logstash.conf:/usr/share/logstash/pipeline/logstash.conf
depends_on:
- elasticsearch
logging:
driver: "json-file"
options:
- max-size: "10m"
This is the logs of logstash
[2019-04-25T04:50:06,753][ERROR][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}"}