# Missing User-ID field on Netflow from Palo Alto

**URL:** https://discuss.elastic.co/t/missing-user-id-field-on-netflow-from-palo-alto/208327
**Category:** Beats
**Tags:** beats-module
**Created:** [November 18, 2019, 2:15pm UTC](https://discuss.elastic.co/t/missing-user-id-field-on-netflow-from-palo-alto/208327 "2019-11-18T14:15:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![fpieressa](https://avatars.discourse-cdn.com/v4/letter/f/ba8739/32.png) [@fpieressa](https://discuss.elastic.co/u/fpieressa)
#### Post date: [November 18, 2019, 2:15pm UTC](https://discuss.elastic.co/t/missing-user-id-field-on-netflow-from-palo-alto/208327/1 "2019-11-18T14:15:25Z")

</div>

Hi team, we have configured a Palo Alto Firewall to send Netflow to a Filebeat.

We are seeing all events right, except that the "User-ID" Netflow field (value 56702) its not shown.

We have replaced the Filebeat with a Logstash, and with it we are seeing the "User-ID" Netflow field is mapped on the "netflow\_user\_id" Elasticsearch field.

Is there any way to configure the Netflow Filebeat Input to collect it? Or it's an issue that must be fixed in the code?

Thanks!

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [November 19, 2019, 1:12am UTC](https://discuss.elastic.co/t/missing-user-id-field-on-netflow-from-palo-alto/208327/2 "2019-11-19T01:12:37Z")

</div>

The netflow input in Filebeat has support for [custom field definitions](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-netflow.html#custom_definitions). For example:

```auto
filebeat.inputs:
- type: netflow
  max_message_size: 10KiB
  host: "0.0.0.0:2055"
  protocols: [v5, v9, ipfix]
  expiration_timeout: 30m
  queue_size: 8192
  custom_definitions:
  - /etc/filebeat/netflow-application-specific-fields.yml

```

`/etc/filebeat/netflow-application-specific-fields.yml`:

```auto
346:
- :uint32
- :privateEnterpriseNumber
56701:
- :string
- :app_id
56702:
- :string
- :user_id

```

- [https://knowledgebase.paloaltonetworks.com/servlet/fileField?entityId=ka10g000000D8OdAAK&field=Attachment\_1\_\_Body\_\_s](https://knowledgebase.paloaltonetworks.com/servlet/fileField?entityId=ka10g000000D8OdAAK&field=Attachment_1 __Body__ s)

---

<div class="post-metadata">

### Author: ![fpieressa](https://avatars.discourse-cdn.com/v4/letter/f/ba8739/32.png) [@fpieressa](https://discuss.elastic.co/u/fpieressa)
#### Post date: [November 19, 2019, 1:57am UTC](https://discuss.elastic.co/t/missing-user-id-field-on-netflow-from-palo-alto/208327/3 "2019-11-19T01:57:44Z")

</div>

> [@andrewkroh](#):
>

Great, it worked, 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: [December 17, 2019, 3:57am UTC](https://discuss.elastic.co/t/missing-user-id-field-on-netflow-from-palo-alto/208327/4 "2019-12-17T03:57:46Z")

</div>

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