---
title: Error extracting container id while using Kubernetes metadata
description: The add_kubernetes_metadata processor might throw the error Error extracting container id - source value does not contain matcher's logs_path. There might...
url: https://www.elastic.co/docs/reference/beats/filebeat/filebeat-kubernetes-metadata-error-extracting-container-id
products:
  - Beats
  - Filebeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Error extracting container id while using Kubernetes metadata
The `add_kubernetes_metadata` processor might throw the error `Error extracting container id - source value does not contain matcher's logs_path`. There might be some issues with the matchers definitions or the location of `logs_path`. Please verify the Kubernetes pod is healthy.