# Enable apache2 module in filebeat

**URL:** https://discuss.elastic.co/t/enable-apache2-module-in-filebeat/188079
**Category:** Beats
**Created:** [June 28, 2019, 3:33pm UTC](https://discuss.elastic.co/t/enable-apache2-module-in-filebeat/188079 "2019-06-28T15:33:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rnkhouse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rnkhouse/32/46236_2.png) [@rnkhouse](https://discuss.elastic.co/u/rnkhouse)
#### Post date: [June 28, 2019, 3:33pm UTC](https://discuss.elastic.co/t/enable-apache2-module-in-filebeat/188079/1 "2019-06-28T15:33:46Z")

</div>

I want to capture apache error logs and access logs in kibana.

I am using this filebeat configuration in kubernetes: [https://raw.githubusercontent.com/elastic/beats/7.0/deploy/kubernetes/filebeat-kubernetes.yaml](https://raw.githubusercontent.com/elastic/beats/7.0/deploy/kubernetes/filebeat-kubernetes.yaml)

I updated config using this guide ([https://www.elastic.co/guide/en/beats/filebeat/master/configuration-filebeat-modules.html](https://www.elastic.co/guide/en/beats/filebeat/master/configuration-filebeat-modules.html)):

```
filebeat.yml: |-
    filebeat.config:
      inputs:
	# Mounted `filebeat-inputs` configmap:
	path: ${path.config}/inputs.d/*.yml
	# Reload inputs configs as they change:
	reload.enabled: false
      modules:
	path: ${path.config}/modules.d/*.yml
	# Reload module configs as they change:
	reload.enabled: false

    filebeat.modules:
      - module: apache2
            access:
               enabled: true

```

But, the module is not enabling and I cannot see error logs from my PHP application to kibana dashboard.

---

<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: [July 26, 2019, 5:33pm UTC](https://discuss.elastic.co/t/enable-apache2-module-in-filebeat/188079/2 "2019-07-26T17:33:46Z")

</div>

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