# New \`add\_lxc\_metadata\` processor for adding LXC container ID

**URL:** <https://discuss.elastic.co/t/new-add-lxc-metadata-processor-for-adding-lxc-container-id/175166>\
**Category:** Beats\
**Created:** [April 3, 2019, 10:29am UTC](https://discuss.elastic.co/t/new-add-lxc-metadata-processor-for-adding-lxc-container-id/175166 "2019-04-03T10:29:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![907th](https://avatars.discourse-cdn.com/v4/letter/9/958977/32.png) [@907th](https://discuss.elastic.co/u/907th)\
**Post date:** [April 3, 2019, 10:29am UTC](https://discuss.elastic.co/t/new-add-lxc-metadata-processor-for-adding-lxc-container-id/175166/1 "2019-04-03T10:29:01Z")

</div>

Hello! I want to audit system events which happen inside LXC containers. Is it able to do with Auditbeat?

---

<div class="post-metadata">

**Author:** ![907th](https://avatars.discourse-cdn.com/v4/letter/9/958977/32.png) [@907th](https://discuss.elastic.co/u/907th)\
**Post date:** [April 5, 2019, 11:14am UTC](https://discuss.elastic.co/t/new-add-lxc-metadata-processor-for-adding-lxc-container-id/175166/2 "2019-04-05T11:14:34Z")

</div>

I started development of a new `add_lxc_metadata` processor which would add `container.id` field to the event data just like `add_docker_metadata` do.

I already have a working and tested minimal working solution and opened a PR for that: [https://github.com/elastic/beats/pull/11663](https://github.com/elastic/beats/pull/11663)

I appreciate any comments, hints and suggestions!

---

<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:** [April 26, 2019, 11:14am UTC](https://discuss.elastic.co/t/new-add-lxc-metadata-processor-for-adding-lxc-container-id/175166/3 "2019-04-26T11:14:36Z")

</div>

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