Skip to content

Module for Filebeat which ingests Exim 4 logs into Elasticsearch

License

Notifications You must be signed in to change notification settings

lbausch/filebeat-exim4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tests

filebeat-exim4

Fully tested Filebeat module to ingest Exim 4 logs

Installation

  • Copy module/exim4 to /usr/share/filebeat/module/
  • Copy modules.d/exim4.yml.disabled to /etc/filebeat/modules.d/exim4.yml

Configuration

All configuration is done in /etc/filebeat/modules.d/exim4.yml.

By default both main and reject logs are ingested. This behaviour can be changed by setting the corresponding enabled flag to true or false respectively:

- module: exim4
  main:
    enabled: true

  reject:
    enabled: false

The module expects the main log in /var/log/exim/main.log and the reject log in /var/log/exim/reject.log. It's possible to use custom paths for the logs by specifying var.paths:

- module: exim4
  main:
    enabled: true

    var.paths:
      - /var/log/exim_mainlog

  reject:
    enabled: true

    var.paths:
      - /var/log/exim_rejectlog

Further Reading