Visualize DMARC results using open-source tools.
See the full blog post with the original instructions at Debricked.
parsedmarc
Grafana
Elasticsearch
Other
grafana/Dockerfile
. (Issue reported, and workaround found, by supaeasy @ #1, cheers!)git clone https://github.com/LukeCallaghan/dmarc-visualizer.git
cd dmarc-visualizer
docker-compose build
docker-compose up -d
The containers will start and can take a while to get running.
Visit http://localhost:3000/
in your browser. Default username and password is admin. This can be edited and will persist.
Configuration options are available for each of the services.
parsedmarc can be configured in the parsedmarc.ini file. There are common options included in the file already.
For a full list of options and information about their use, please visit the config section of the parsedmarc documentation
To enable Geo IP you will need to complete the requirements outlined in the geoipupdate section of the parsedmarc documentation
Once you have your license key file, you can update the GeoIP.conf file with your license details and remove the comments so the geoip functionality will work.
If you are getting errors in your dashboard regarding memory issues, then you need to increase the memory available to the Elasticsearch instance. In the docker-compose file, you can change the line below to increase the memory:
- "ES_JAVA_OPTS=-Xms512m -Xms512m"
For example, to use 1Gb of memory you would use:
- "ES_JAVA_OPTS=-Xms1024m -Xms1024m"
Customisation of the Grafana interface is done by following the guide from Volkov Labs