Patrick Proniewski:
> Hi all,
>
> I love Postfix and I use it everywhere I can. At work, I now have
> about 6 of them for different uses. My MX alone accepts about 1
> million messages per month. I must (forensic/support request/law)
> keep logs from all these Postfix servers, and more importantly I
> must be able to browse/search those logs.
>
> Unfortunately Postfix logs are not so simple to parse, so properly
> indexing logs into logstash/elasticsearch in almost impossible.
> And working on patterns is doomed to failure, because Postfix
> logs can evolve (new release, de/activation of a feature?).
>
> That would be really awesome if Postfix could log into a structured
> format. I'm thinking about JSON, because that's what
> logstash/elasticsearch eats. But any key=value output is fine.
>
> Any plan about such a feature/option on the roadmap ?
This requires a new logging abstraction, for example attribute=value
based, with different drivers for stderr, syslog, and other
destinations. This came up more than 10 years ago, but there are
not enough cycles to complete the design let alone implementation.
Wietse