Metricbeat: 6.4.3
http module configuration:
- module: http
metricsets:
- server
host: "localhost"
port: "800"
paths:
- path: "/foo"
namespace: "foo"
$ curl -H "Content-Type: application/json" http://127.0.0.1:800/foo/ -d '{"test4": true}'
But, the posted json still under http.server field, which should be under http.foo:
I think the PR #7890 should fix this bug, but doesn't backport to 6.x.