# Packetbeat 7.14.1 process.env not added to the document

**URL:** <https://discuss.elastic.co/t/packetbeat-7-14-1-process-env-not-added-to-the-document/283698>\
**Category:** SIEM\
**Created:** [September 8, 2021, 5:09pm UTC](https://discuss.elastic.co/t/packetbeat-7-14-1-process-env-not-added-to-the-document/283698 "2021-09-08T17:09:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rodrigo\_Bernardo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rodrigo_bernardo/32/43935_2.png) [@Rodrigo\_Bernardo](https://discuss.elastic.co/u/Rodrigo_Bernardo)\
**Post date:** [September 8, 2021, 5:09pm UTC](https://discuss.elastic.co/t/packetbeat-7-14-1-process-env-not-added-to-the-document/283698/1 "2021-09-08T17:09:24Z")

</div>

Hello there,

I tried to follow the documentation but with no success. Am I doing something wrong or packetbeat has issues sending the process environment into the document. I am using the latest version of packetbeat 7.14.1. Sending to logstash and this is how enabled process data:

```auto
packetbeat.procs.enabled: true

processors:
  - add_process_metadata:
      match_pids: [system.process.pid]
      target: system.process.parent
      restricted_fields: true
      include_fields: [process.env]

```

Please assist if you have any ideas...  
Thanks a lot!  
Rodrigo.

---

<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:** [October 6, 2021, 5:09pm UTC](https://discuss.elastic.co/t/packetbeat-7-14-1-process-env-not-added-to-the-document/283698/2 "2021-10-06T17:09:30Z")

</div>

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