Closed
Description
This issue is related to: #27798
If you have a misconfiguration and set the hosts: ["http://localhost:9200"]
to use a trailing /
e.g. hosts: ["http://localhost:9200/"]
metricbeat will write the following issue:
2021-09-08T09:19:46.039+0200 INFO module/wrapper.go:259 Error fetching data for metricset elasticsearch.shard: HTTP error 400 in : 400 Bad Request
2021-09-08T09:19:46.040+0200 INFO module/wrapper.go:259 Error fetching data for metricset elasticsearch.cluster_stats: HTTP error 404 in : 404 Not Found
2021-09-08T09:19:46.047+0200 INFO module/wrapper.go:259 Error fetching data for metricset elasticsearch.ml_job: HTTP error 400 in : 400 Bad Request
2021-09-08T09:19:46.047+0200 INFO module/wrapper.go:259 Error fetching data for metricset elasticsearch.enrich: HTTP error 404 in : 404 Not Found
Those messages should be ERROR
and not INFO
.
Activity