Unable to start Metric beat on Kubenetes

I am trying to start the metric beat with https://github.com/elastic/beats/blob/master/deploy/kubernetes/metricbeat-kubernetes.yaml file but it failing with below error. any help will be appriciated.

Version
Elk - 7.2
k8s - v1.14.0

2019-07-11T16:41:42.165Z        INFO    add_cloud_metadata/add_cloud_metadata.go:347    add_cloud_metadata: hosting provider type not detected.
2019-07-11T16:41:42.165Z        INFO    [monitoring]    log/log.go:153  Total non-zero metrics  {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":20,"time":{"ms":21}},"total":{"ticks":60,"time":{"ms":62},"value":60},"user":{"ticks":40,"time":{"ms":41}}},"handles":{"limit":{"hard":65536,"soft":65536},"open":5},"info":{"ephemeral_id":"8eb35414-e8bd-40d3-ba88-445050a9d2cf","uptime":{"ms":45}},"memstats":{"gc_next":9705504,"memory_alloc":5990496,"memory_total":13242848,"rss":48001024},"runtime":{"goroutines":17}},"libbeat":{"config":{"module":{"running":0}},"output":{"type":"elasticsearch"},"pipeline":{"clients":0,"events":{"active":0}}},"system":{"cpu":{"cores":4},"load":{"1":0.01,"15":0.26,"5":0.12,"norm":{"1":0.0025,"15":0.065,"5":0.03}}}}}}
2019-07-11T16:41:42.165Z        INFO    [monitoring]    log/log.go:154  Uptime: 47.423406ms
2019-07-11T16:41:42.165Z        INFO    [monitoring]    log/log.go:131  Stopping metrics logging.
2019-07-11T16:41:42.165Z        INFO    instance/beat.go:431    metricbeat stopped.
2019-07-11T16:41:42.165Z        ERROR   instance/beat.go:877    Exiting: 1 error: metricset 'kubernetes/proxy' is not registered, metricset not found
Exiting: 1 error: metricset 'kubernetes/proxy' is not registered, metricset not found

Hmm what docker image are you using for metricbeat?

docker.elastic.co/beats/metricbeat:7.2.0

Thanks, are you trying to use kubernetes/proxy metricset with 7.2 docker image? I believe kubernetes/proxy will be available in 7.3 so that's why you are getting this error.

Thanks, so my elk is in 7.2 is it fine to run the metric beat on 7.3 ? However 7.3 is not there.

docker pull docker.elastic.co/beats/metricbeat:7.3.0
Trying to pull repository docker.elastic.co/beats/metricbeat ...
manifest for docker.elastic.co/beats/metricbeat:7.3.0 not found

:slight_smile: yeah, we are still in the process of releasing 7.3. We don't have a known date, but it will probably be released in a few weeks! Sorry about the inconvenience!

No Problem, I just commented out the proxy related config and able to start the metric beat without any errors. thanks for your help.

1 Like