# Beat-exporter sending the metrics of filebeat to prometheus even pod gets deleted

**URL:** <https://discuss.elastic.co/t/beat-exporter-sending-the-metrics-of-filebeat-to-prometheus-even-pod-gets-deleted/325914>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [February 19, 2023, 1:33pm UTC](https://discuss.elastic.co/t/beat-exporter-sending-the-metrics-of-filebeat-to-prometheus-even-pod-gets-deleted/325914 "2023-02-19T13:33:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabhakar\_talari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabhakar_talari/32/46469_2.png) [@prabhakar\_talari](https://discuss.elastic.co/u/prabhakar_talari)\
**Post date:** [February 19, 2023, 1:33pm UTC](https://discuss.elastic.co/t/beat-exporter-sending-the-metrics-of-filebeat-to-prometheus-even-pod-gets-deleted/325914/1 "2023-02-19T13:33:16Z")

</div>

Hi Team,

I am running filebeat as a deamonset in k8s also running beat-exporter as a side car container. one weird thing i am observing is after pod get's deleted [pod deleted almost 1 week ago] still i am getting the metrics into prometheus. The events of kubernetes will be purged every 6 hr's but still not understanding where to look why am getting metrics for deleted pod's. As this is causing me false alerts at Grafana.

Thanks

---

<div class="post-metadata">

**Author:** ![BenB196](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benb196/32/83401_2.png) [@BenB196](https://discuss.elastic.co/u/BenB196)\
**Post date:** [February 19, 2023, 2:10pm UTC](https://discuss.elastic.co/t/beat-exporter-sending-the-metrics-of-filebeat-to-prometheus-even-pod-gets-deleted/325914/2 "2023-02-19T14:10:56Z")

</div>

You will probably need to reach out to the group that supports the beat-exporter that you are using. I'm not sure if many people on these forums will be able to provide assistance on things not directly related to the Elastic Stack products.

---

<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:** [March 19, 2023, 2:11pm UTC](https://discuss.elastic.co/t/beat-exporter-sending-the-metrics-of-filebeat-to-prometheus-even-pod-gets-deleted/325914/3 "2023-03-19T14:11:51Z")

</div>

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