# Auditbeat: Prefix syscall arguments value with '0x' so that they can be handled by "convert" processor

**URL:** <https://discuss.elastic.co/t/auditbeat-prefix-syscall-arguments-value-with-0x-so-that-they-can-be-handled-by-convert-processor/258308>\
**Category:** Beats\
**Tags:** auditbeat\
**Created:** [December 10, 2020, 5:00pm UTC](https://discuss.elastic.co/t/auditbeat-prefix-syscall-arguments-value-with-0x-so-that-they-can-be-handled-by-convert-processor/258308 "2020-12-10T17:00:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![docteur\_saoul](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@docteur\_saoul](https://discuss.elastic.co/u/docteur_saoul)\
**Post date:** [December 10, 2020, 5:00pm UTC](https://discuss.elastic.co/t/auditbeat-prefix-syscall-arguments-value-with-0x-so-that-they-can-be-handled-by-convert-processor/258308/1 "2020-12-10T17:00:58Z")

</div>

Hi,

I'm looking for a way to add the traced process metadata for ptrace events on linux. This could be done using the `add_process_metadata` and the PID (second argument of ptrace syscall). However, `auditd.data.aX` fields are not prefixed with "0x" even though they are stored as hex values. This causes `convert` processor to fail.

Could you point towards the relevant file in audibeat's code so that I can try to quickly fix my problem ? I'm still a bit unfamiliar with the beat's code organization.

Thank you for your time 🙂

---

<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 7, 2021, 7:00pm UTC](https://discuss.elastic.co/t/auditbeat-prefix-syscall-arguments-value-with-0x-so-that-they-can-be-handled-by-convert-processor/258308/2 "2021-01-07T19:00:59Z")

</div>

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