Logstash not error 400 while sending metrics to elasticsearch

Monitoring information from logstash to elasticsearch is not working. Here is my configuration of logstash.yml and the error log thrown:

Logstash.yml:

path.config: /usr/share/logstash/conf.d
xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.hosts: [ "http://elk-master03:9200" ]

Error log:

[2019-06-22T19:41:29,099][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff  {:code=>400, :url=>"http://elk-master03:9200/_monitoring/bulk?system_id=logstash&system_api_version=7&interval=1s"}
[2019-06-22T19:42:33,103][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff  {:code=>400, :url=>"http://elk-master03:9200/_monitoring/bulk?system_id=logstash&system_api_version=7&interval=1s"}
[2019-06-22T19:43:37,107][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff  {:code=>400, :url=>"http://elk-master03:9200/_monitoring/bulk?system_id=logstash&system_api_version=7&interval=1s"}

I'm using an ELK stack with version 7.1 with the official docker images.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.