# Can't load modules

**URL:** https://discuss.elastic.co/t/cant-load-modules/247382
**Category:** Beats
**Tags:** filebeat
**Created:** [September 3, 2020, 12:41pm UTC](https://discuss.elastic.co/t/cant-load-modules/247382 "2020-09-03T12:41:13Z")
**Posts on this page:** 4
**Page:** 1

<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 3, 2020, 12:41pm UTC](https://discuss.elastic.co/t/cant-load-modules/247382/1 "2020-09-03T12:41:13Z")

</div>

I have a website that is hosted with apache. I can't seem to get the apache module working.

I think this is happening because filebeat output is directed to logstash (not elasticsearch).

If I just a regular `filebeat setup` I get this:

```
Exiting: Index management requested but the Elasticsearch output is not configured/enabled

```

I ran these commands:

```
filebeat modules enable apache
nano /etc/filebeat/modules.d/apache.yml # Pointed to the logs (https://i.imgur.com/jTpKQuK.png)
filebeat setup --pipelines --modules apache,apache2
filebeat setup --dashboards
systemctl restart filebeat

```

As advised by [this guide](https://www.elastic.co/guide/en/logstash/current/use-ingest-pipelines.html), I've configured logstash to use [pipelines output (this is my logstash output config)](https://pastebin.com/KWa2Db35)

And it seems like [it won't receive anything](https://i.imgur.com/inZ3uha.gif)

Is it possible to send modules through logstash? Am I missing something? Thanks ahead.

---

<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 3, 2020, 2:04pm UTC](https://discuss.elastic.co/t/cant-load-modules/247382/2 "2020-09-03T14:04:12Z")

</div>

this is what I'm getting from logstash:

```
[2020-09-03T10:29:25,247][WARN][logstash.outputs.elasticsearch][main][96b7324cb7ac9fdd78624e65847b5937676961062569496354cd70bf75aeebf8] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"filebeat-7.9.0-2020.09.03", :routing=>nil, :_type=>"_doc", :pipeline=>"filebeat-7.9.0-apache-access-pipeline"}, #<LogStash::Event:0x5b062f79>], :response=>{"index"=>{"_index"=>"filebeat-7.9.0-2020.09.03", "_type"=>"_doc", "_id"=>nil, "status"=>400, "error"=>{"type"=>"illegal_argument_exception", "reason"=>"pipeline with id [filebeat-7.9.0-apache-access-pipeline] does not exist"}}}}
```

---

<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: [September 3, 2020, 10:29pm UTC](https://discuss.elastic.co/t/cant-load-modules/247382/3 "2020-09-03T22:29:27Z")

</div>

Is this your thread over on Reddit? [https://www.reddit.com/r/elasticsearch/comments/ilsogs/cant\_load\_modules/](https://www.reddit.com/r/elasticsearch/comments/ilsogs/cant_load_modules/)

---

<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: [October 1, 2020, 10:29pm UTC](https://discuss.elastic.co/t/cant-load-modules/247382/4 "2020-10-01T22:29:34Z")

</div>

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