# Filebeat for Openshift and Kubernetes audit logs

**URL:** <https://discuss.elastic.co/t/filebeat-for-openshift-and-kubernetes-audit-logs/249287>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 21, 2020, 1:04am UTC](https://discuss.elastic.co/t/filebeat-for-openshift-and-kubernetes-audit-logs/249287 "2020-09-21T01:04:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sayeedc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sayeedc/32/68296_2.png) [@sayeedc](https://discuss.elastic.co/u/sayeedc)\
**Post date:** [September 21, 2020, 1:04am UTC](https://discuss.elastic.co/t/filebeat-for-openshift-and-kubernetes-audit-logs/249287/1 "2020-09-21T01:04:01Z")

</div>

Hi,

What’s the best way to collect Openshift and Kubernetes audit logs with Filebeats?

Auditbeat doesn’t seem to have any options to inspect Kube or OCP audit log files.

Thanks,  
Sayeed

---

<div class="post-metadata">

**Author:** ![sayeedc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sayeedc/32/68296_2.png) [@sayeedc](https://discuss.elastic.co/u/sayeedc)\
**Post date:** [October 13, 2020, 6:07pm UTC](https://discuss.elastic.co/t/filebeat-for-openshift-and-kubernetes-audit-logs/249287/2 "2020-10-13T18:07:06Z")

</div>

Anyone with an update? Should I use Filebeats or Auditbeat for these logs?

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [October 14, 2020, 8:11am UTC](https://discuss.elastic.co/t/filebeat-for-openshift-and-kubernetes-audit-logs/249287/3 "2020-10-14T08:11:31Z")

</div>

How about experimenting yourself with FB's `auditd` module? Did you try and got some results? See: [https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-auditd.html](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-auditd.html)

---

<div class="post-metadata">

**Author:** ![sayeedc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sayeedc/32/68296_2.png) [@sayeedc](https://discuss.elastic.co/u/sayeedc)\
**Post date:** [October 16, 2020, 2:58pm UTC](https://discuss.elastic.co/t/filebeat-for-openshift-and-kubernetes-audit-logs/249287/4 "2020-10-16T14:58:21Z")

</div>

I'll test it out. Thanks!

---

<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:** [November 13, 2020, 4:58pm UTC](https://discuss.elastic.co/t/filebeat-for-openshift-and-kubernetes-audit-logs/249287/5 "2020-11-13T16:58:44Z")

</div>

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