# Netflow.flow\_id data type incorrectly set to long instead of unsigned-long

**URL:** <https://discuss.elastic.co/t/netflow-flow-id-data-type-incorrectly-set-to-long-instead-of-unsigned-long/377377>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 22, 2025, 2:17pm UTC](https://discuss.elastic.co/t/netflow-flow-id-data-type-incorrectly-set-to-long-instead-of-unsigned-long/377377 "2025-04-22T14:17:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [April 22, 2025, 2:42pm UTC](https://discuss.elastic.co/t/netflow-flow-id-data-type-incorrectly-set-to-long-instead-of-unsigned-long/377377/2 "2025-04-22T14:42:01Z")

</div>

Hi @vjineo Welcome to the community.

What version are you on?

Looks like a duplicate of this... Please be patient new users it take a few minutes for topics to show up. I will close that one.

> [@Filebeats NetFlow: Events dropped due to out of range of long value](https://discuss.elastic.co/t/filebeats-netflow-events-dropped-due-to-out-of-range-of-long-value/377375):
>
> Most of the events are dropped with below error: {\"type\":\"document\_parsing\_exception\",\"reason\":\"[1:1475] failed to parse field [netflow.flow\_id] of type [long] in document with id 'M7a4XZYB\_Zr7jpsbS6pn'. Preview of field's value: '11133470849011551241'\",\"caused\_by\":{\"type\":\"x\_content\_parse\_exception\",\"reason\":\"[1:1495] Numeric value (11133470849011551241) out of range of long (-9223372036854775808 - 9223372036854775807)\\n As per standard, netflow.flow\_id is unsigned64. But Fi…

Ohhh I think you will need to set that to keyword, I see on the other modules it is set to `keyword`

```auto
        - name: flow_id
          type: keyword

```

It might be worth opening an Issue....

> **[beats/x-pack/filebeat/input/netflow at 66e172ca24ec82f07bcd89da7436479a6e6c20f1...](https://github.com/elastic/beats/tree/66e172ca24ec82f07bcd89da7436479a6e6c20f1/x-pack/filebeat/input/netflow)**
>
> :tropical\_fish: Beats - Lightweight shippers for Elasticsearch &amp; Logstash - elastic/beats

---

_[View the full topic](https://discuss.elastic.co/t/netflow-flow-id-data-type-incorrectly-set-to-long-instead-of-unsigned-long/377377)._
