Robey Lawrence
350671282_n

Email Parsing with N8N and Graylog

I’ve been building some website monitoring stuff lately using self-hosted software.

Here’s one that uses n8n (like Zapier) to ingest email logs (sent from a WordPress site) from an IMAP folder,

parses the email content into the GELF format (for Graylog),

then sends it to a Graylog install via a HTTP POST request.

I configured some extractors within Graylog that use regex to pull out some of the key info and makes it easily searchable and alertable.

I’ve never used Graylog before until I installed it last night. Looks like it will be quite useful.

Both n8n and Graylog are installed in docker containers.

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.