# FreeBSD and filebeat modules?

**URL:** <https://discuss.elastic.co/t/freebsd-and-filebeat-modules/231009>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 4, 2020, 5:24pm UTC](https://discuss.elastic.co/t/freebsd-and-filebeat-modules/231009 "2020-05-04T17:24:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dunuin](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dunuin](https://discuss.elastic.co/u/Dunuin)\
**Post date:** [May 4, 2020, 5:24pm UTC](https://discuss.elastic.co/t/freebsd-and-filebeat-modules/231009/1 "2020-05-04T17:24:46Z")

</div>

Hi,

I'm using FreeBSD 11.3 (FreeNAS) and installed beats using it's pkg repository. Collecting and sending logs I manually added inputs for works fine, but I don't get the modules to run.

I can only find in the documentation how to use "modules.d" to setup and start the modules but FreeBSD don't seem to offer this.  
I found module config files in the folder "/usr/local/share/beats/filebeat/module/" and tried to edit them to get the mysql, system, redis and apache module working but that doesn't work.

I changed for example the log paths in the file "/usr/local/share/beats/filebeat/module/mysql/\_meta/config.yml" to the right location but it doesn't work.

What am I supposed to do on a FreeBSD system to setup and start the modules?

And does someone know how to configure the “system” module? It asks for a syslog file but the syslog of FreeBSD creates several diffent logfiles and not a single one. Is that module able to work with FreeBSDs “debug.log, devd.log, dmesg.today, …”?

Would be great if someone could help me.  
I wasn't able to find any tutorial for FreeBSD 11.X explaining how to setup modules.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 4, 2020, 9:54pm UTC](https://discuss.elastic.co/t/freebsd-and-filebeat-modules/231009/2 "2020-05-04T21:54:03Z")

</div>

Unfortunately FreeBSD isn't a supported OS for us at this point, so the modules will not work out of the box, and it's possible whoever packaged them for FreeNAS made a few changes to suit this.

I'm sorry I don't have a solution for you here.

---

<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:** [June 1, 2020, 9:54pm UTC](https://discuss.elastic.co/t/freebsd-and-filebeat-modules/231009/3 "2020-06-01T21:54:08Z")

</div>

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