Metricbeat: http server metricset doesn't use namespace config option

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.

I think you are right and we should backport #7890, doing it.

Thanks for reporting!

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