# Getting the error as "agent\_id\_status": "auth\_metadata\_missing" in the file beat data stream on elastic agent standalone deployed on k8s cluster

**URL:** <https://discuss.elastic.co/t/getting-the-error-as-agent-id-status-auth-metadata-missing-in-the-file-beat-data-stream-on-elastic-agent-standalone-deployed-on-k8s-cluster/349007>\
**Category:** Elastic Agent\
**Tags:** filebeat\
**Created:** [December 11, 2023, 5:14am UTC](https://discuss.elastic.co/t/getting-the-error-as-agent-id-status-auth-metadata-missing-in-the-file-beat-data-stream-on-elastic-agent-standalone-deployed-on-k8s-cluster/349007 "2023-12-11T05:14:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subrahmanyam\_Veerank](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Subrahmanyam\_Veerank](https://discuss.elastic.co/u/Subrahmanyam_Veerank)\
**Post date:** [December 11, 2023, 5:14am UTC](https://discuss.elastic.co/t/getting-the-error-as-agent-id-status-auth-metadata-missing-in-the-file-beat-data-stream-on-elastic-agent-standalone-deployed-on-k8s-cluster/349007/1 "2023-12-11T05:14:04Z")

</div>

Deployed the elastic agent standalone in a kubernetes cluster and a agent policy is created with a kubernetes integration. Getting some of the metric visualizations of the pods,nodes,etc but when i checked the filebeat datastream getting the below error.

**Document id: OkE9V4wB6fYG4zEHPya5**

agent ```  
{  
"name": "UCRKEW1",  
"id": "8fe35235-adb5-4133-a0d5-b50cffc352f3",  
"ephemeral\_id": "a04b96a5-b782-4826-844d-d5c610d250cd",  
"type": "metricbeat",  
"version": "8.11.0"  
}

````auto
@timestamp "2023-12-11T04:57:59.973Z"
ecs ```
{
  "version": "8.0.0"
}

````

service ```  
{  
"address": "unix/inputs",  
"type": "http"  
}

````auto
data_stream ```
{
  "namespace": "default",
  "type": "metrics",
  "dataset": "elastic_agent.filebeat_input"
}

````

elastic\_agent ```  
{  
"process": "filebeat",  
"id": "8fe35235-adb5-4133-a0d5-b50cffc352f3",  
"version": "8.11.0",  
"snapshot": false  
}

````auto
host ```
{
  "hostname": "ucrkew1",
  "os": {
    "kernel": "5.4.0-162-generic",
    "codename": "focal",
    "name": "Ubuntu",
    "type": "linux",
    "family": "debian",
    "version": "20.04.6 LTS (Focal Fossa)",
    "platform": "ubuntu"
  },
  "containerized": true,
  "name": "ucrkew1",
  "architecture": "x86_64"
}

````

metricset ```  
{  
"period": 60000,  
"name": "json"  
}

````auto
filebeat_input ```
{
  "files_opened_total": 0,
  "processing_time": {
    "histogram": {
      "p99": 0,
      "min": 0,
      "median": 0,
      "max": 0,
      "mean": 0,
      "count": 0,
      "p999": 0,
      "stddev": 0,
      "p95": 0,
      "p75": 0
    }
  },
  "input": "filestream",
  "files_active": 0,
  "messages_read_total": 0,
  "id": "kubernetes-container-logs-kube-state-metrics-7685949f4b-wff7v-8a31ccb73407fb68e3766043df2616db5278f4827688a9395f4cc36629e6ad67",
  "bytes_processed_total": 0,
  "files_closed_total": 0,
  "events_processed_total": 0,
  "processing_errors_total": 0
}

````

event ```  
{  
"duration": 8799996,  
"agent\_id\_status": "auth\_metadata\_missing",  
"ingested": "2023-12-11T04:58:01Z",  
"module": "http",  
"dataset": "elastic\_agent.filebeat\_input"  
}

```auto

##Our objective is to get the kubernetes container logs through that elastic agent. Kindly help us in this regard
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 8, 2024, 5:14am UTC](https://discuss.elastic.co/t/getting-the-error-as-agent-id-status-auth-metadata-missing-in-the-file-beat-data-stream-on-elastic-agent-standalone-deployed-on-k8s-cluster/349007/2 "2024-01-08T05:14:08Z")

</div>

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