How to get kubernetes metadata with Elastic APM?

Hi all,

Kibana version: 7.7.1
Elasticsearch version: 7.7.1
APM Server version: 7.7.1
APM Agent language and version: Java, 1.17.0

I have set up an elasticsearch, kibana and apm server in a VM , and an spring-boot-application with the apm java agent in openshift 3.11. My APM dahsboard already working perfectly but when I read the document I cannot find kubernetes metadata. I only find kubernetes.pod.name and kubernetes.pod.uid.

How can I get all kubernetes metadata from with elastic APM? especially kubernetes.namespace? https://www.elastic.co/guide/en/apm/server/master/exported-fields-kubernetes-processor.html

Thank you

Hi and thanks for your question.

Check out this guide: https://www.elastic.co/guide/en/apm/server/master/metadata-api.html#kubernetes-data

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