# Apache Module - log.level

**URL:** <https://discuss.elastic.co/t/apache-module-log-level/369861>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 31, 2024, 6:12am UTC](https://discuss.elastic.co/t/apache-module-log-level/369861 "2024-10-31T06:12:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mniel0](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@mniel0](https://discuss.elastic.co/u/mniel0)\
**Post date:** [October 31, 2024, 6:12am UTC](https://discuss.elastic.co/t/apache-module-log-level/369861/1 "2024-10-31T06:12:30Z")

</div>

Hi there!  
We are currently using Apache Module for collecting access and error log events from our apache web servers. We need to put a log.level on it (mostly INFO and ERROR).  
Is this possible? I've read the documentation and it doesn't really say anything.

I have tried adding a processor (not knowing if this is supported or not) but it doesn't seem to work. Maybe someone out there knows a workaround or just a simple solution?

I'd imagine something like:

```auto
- module: apache
  access:
    enabled: true
    var.paths: ["/data/dkinst995/eessi/share/logs/loadbalancer/access*.log"]
    processors:
      - add_fields:
          target: ''
          fields:
            log.level: info

```

---

<div class="post-metadata">

**Author:** ![strawgate](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/strawgate/32/131008_2.png) [@strawgate](https://discuss.elastic.co/u/strawgate)\
**Post date:** [November 19, 2024, 11:26pm UTC](https://discuss.elastic.co/t/apache-module-log-level/369861/2 "2024-11-19T23:26:15Z")

</div>

Try

```auto
    processors:
      - add_fields:
          target: "log"
          fields:
            level: info

```
