# Setup filebeat module

**URL:** https://discuss.elastic.co/t/setup-filebeat-module/247658
**Category:** Beats
**Tags:** beats-module, filebeat
**Created:** [September 6, 2020, 7:04am UTC](https://discuss.elastic.co/t/setup-filebeat-module/247658 "2020-09-06T07:04:59Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![headtea](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/headtea/32/24271_2.png) [@headtea](https://discuss.elastic.co/u/headtea)
#### Post date: [September 6, 2020, 11:16am UTC](https://discuss.elastic.co/t/setup-filebeat-module/247658/4 "2020-09-06T11:16:27Z")

</div>

# SOLVED:

> [@Unable to ingest apache2 logs through filebeat](https://discuss.elastic.co/t/unable-to-ingest-apache2-logs-through-filebeat/146309/3):
>
> The vars.paths setting in the apache module requires an array. The template engine complaints about it being a plain string. Update your modules setting to say: filebeat.modules: #------------------------------- Apache2 Module ------------------------------ - module: apache2 access: enabled: true # Set custom paths for the log files. If left empty, # Filebeat will choose the paths depending on your OS. var.paths: - '/opt/bea/Logwarhouse/MarketApache/\*access.log' e…

Has solved the issue! for some VERY strange reason it only accepts arrays?

---

_[View the full topic](https://discuss.elastic.co/t/setup-filebeat-module/247658)._
