Skip to content

A Filebeat module that parses log files created by Exim 4.

License

Notifications You must be signed in to change notification settings

lorenzbausch/filebeat-module-exim4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filebeat-module-exim4

This is a simple Filebeat module that parses main logs and reject logs created by Exim 4.

Installation

These instructions assume you have a working Filebeat installation.

  1. Set up Exim to log its time zone:

    Filebeat needs to know what time zone your logs are in. Therefore, please add the following configuration directive to your Exim configuration:

    log_timezone = true
    

    Otherwise, this Filebeat module will assume your logs are in UTC.

  2. Install module files:

    1. Copy module/exim4 to your module directory (usually /usr/share/filebeat/module/):

      cp -R module/exim4 /usr/share/filebeat/module/
      
    2. Copy the module descriptor to your modules.d directory (usually /etc/filebeat/modules.d):

      cp modules.d/exim4.yml.disabled /etc/filebeat/modules.d/
      
  3. Test whether or not the module was picked up by Filebeat:

    filebeat modules list | grep exim4
      => exim4
    
  4. Enable the module:

    filebeat modules enable exim4
    
  5. Restart Filebeat (if necessary).

Contributing

If you'd like to contribute to this project, please feel free to contact any of the contributors or simply create a new pull request with your suggested changes.

Copyright & License

Copyright © 2018 Sebastian Boschert

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

A Filebeat module that parses log files created by Exim 4.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published