# Enable netflow module in filebeat on Rasberry PI

**URL:** <https://discuss.elastic.co/t/enable-netflow-module-in-filebeat-on-rasberry-pi/195629>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 18, 2019, 4:44am UTC](https://discuss.elastic.co/t/enable-netflow-module-in-filebeat-on-rasberry-pi/195629 "2019-08-18T04:44:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wimdebruyn](https://avatars.discourse-cdn.com/v4/letter/w/bbce88/32.png) [@wimdebruyn](https://discuss.elastic.co/u/wimdebruyn)\
**Post date:** [August 18, 2019, 4:44am UTC](https://discuss.elastic.co/t/enable-netflow-module-in-filebeat-on-rasberry-pi/195629/1 "2019-08-18T04:44:09Z")

</div>

I am running filebeat 7.3 on a Raspberry PI (running buster) shipping to Elastic cloud 7.3. I compiled filebeat from source following instructions from [@andig](https://gist.github.com/andig/650915e02b18cfe38de6516686977bca).

It is already successfuly shipping syslog and nginx logs.

I am having trouble enabling the netflow module (or any module in x-pack for that matter).

This is the result when I try to enable the module:

```
~/go/src/github.com/elastic/beats/filebeat $ sudo ./filebeat modules enable netflow

Module netflow doesn't exist!

```

The x-pack modules are located in ~/go/src/github.com/elastic/beats/x-pack/filebeat/module and ~/go/src/github.com/elastic/beats/x-pack/filebeat/modules.d

I have tried the same with the googlecloud module, and have the same problem.

How should x-pack modules be enabled?

---

<div class="post-metadata">

**Author:** ![faec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/faec/32/46988_2.png) [@faec](https://discuss.elastic.co/u/faec)\
**Post date:** [August 20, 2019, 7:52pm UTC](https://discuss.elastic.co/t/enable-netflow-module-in-filebeat-on-rasberry-pi/195629/2 "2019-08-20T19:52:35Z")

</div>

x-pack is licensed differently, so to include the x-pack modules when building from source you need to build in the x-pack directory:

```auto
cd x-pack/filebeat
make mage
mage build

```

At that point `./filebeat modules enable netflow` should work.

---

<div class="post-metadata">

**Author:** ![wimdebruyn](https://avatars.discourse-cdn.com/v4/letter/w/bbce88/32.png) [@wimdebruyn](https://discuss.elastic.co/u/wimdebruyn)\
**Post date:** [August 21, 2019, 3:46am UTC](https://discuss.elastic.co/t/enable-netflow-module-in-filebeat-on-rasberry-pi/195629/3 "2019-08-21T03:46:05Z")

</div>

Thank you. It worked!

---

<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:** [September 18, 2019, 3:46am UTC](https://discuss.elastic.co/t/enable-netflow-module-in-filebeat-on-rasberry-pi/195629/4 "2019-09-18T03:46:07Z")

</div>

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