# Filebeat auditd module causes mapping explosion

**URL:** <https://discuss.elastic.co/t/filebeat-auditd-module-causes-mapping-explosion/318205>\
**Category:** Elasticsearch\
**Created:** [November 4, 2022, 3:44pm UTC](https://discuss.elastic.co/t/filebeat-auditd-module-causes-mapping-explosion/318205 "2022-11-04T15:44:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kosodrom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kosodrom/32/99278_2.png) [@Kosodrom](https://discuss.elastic.co/u/Kosodrom)\
**Post date:** [November 4, 2022, 3:44pm UTC](https://discuss.elastic.co/t/filebeat-auditd-module-causes-mapping-explosion/318205/1 "2022-11-04T15:44:28Z")

</div>

Hi folks,

I am using Filebeat and auditd module to collect audit logs from linux vm.

I am often running into mapping limit because the ingest pipeline creates a new field for every argument given in the log message.

for example original log contains among other information arguments like: `...a0="user/bin/bash" a1="-D" a2="-i" a3...` and so on. It can go up to a500+.

The Filebeat auditd ingest pipeline creates fields like:

auditd.log.a0, auditd.log.a1, auditd.log.a2, auditd.log.a3, .... auditd.log.a456 and so on.

I would like to prevent the creation of the fields for the argument. For example I would like to have a field like auditd.log.arguments and concatinate all values from these a0..a\* fields in there.

Do you have any idea how I can achieve this?

Thanks

---

<div class="post-metadata">

**Author:** ![Kosodrom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kosodrom/32/99278_2.png) [@Kosodrom](https://discuss.elastic.co/u/Kosodrom)\
**Post date:** [November 9, 2022, 12:07pm UTC](https://discuss.elastic.co/t/filebeat-auditd-module-causes-mapping-explosion/318205/2 "2022-11-09T12:07:24Z")

</div>

Does anyone have a hint ☹

---

<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:** [December 7, 2022, 12:07pm UTC](https://discuss.elastic.co/t/filebeat-auditd-module-causes-mapping-explosion/318205/3 "2022-12-07T12:07:37Z")

</div>

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