Skip to content

jamesarbrown/mailu-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Mailu-Logging (Kubernetes)

Background

We will use filbeat to push mailu logs to logstash, which then in turn will push those logs to Elasticsearch.

What you wish to do with those logs is upto you, but they can be pulled into Kibana or Grafana

Grafana

Is the whole goal of this, to operate a Mailu Kubernetes deployment with a Grafana dashboard (11293)

Acknowledgements

The bulk of the logstash is from Bhozar and original work is in this Github repository

Pre-Requisites

  • Working Elasticsearch deployment (ours is in a monitoring namespace)
  • Working Mailu deployment (ours is in a mailu-mailserver namespace)
  • Mailu deployment can access the hostpath with the logs

Installation

Within the mailu namespace add the configmaps into Kubernetes, these cover the core setup of filebeat and logstash, with logstash running all the pattern matching for Bhozars work.

The deployment uses volume maps for the configmap mounts and also mounts hostpaths for the Kubernetes logs, so that filebeat can monitor and push them to logstash.

You will need to alter logstash.conf - Pointing to your Elasticsearch deployment

About

Mailu Logging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published