On Tue, Feb 24, 2015 at 10:33 AM, Stefan G. Weichinger <li...@xunil.at> wrote: [ ... ] > Maybe I could set up some other web-app that (a) looks at the link > pointing to the postfix.service-logs and (b) filters them?
(With my programmer's hat on): I think the easiest way would be to create a little client that downloads the logs in JSON format, and then do the filtering off-site. If I'm not mistaken, libmicrohttpd supports "Accept-Encoding: gzip", and therefore the used bandwidth should not be a lot. Also, you can get the last cursor from the journal the first time, and next time you download logs, you start from that cursor on, so you don't download everything again. I don't see many advantages on doing the filtering on-site. Specially if, after a while, you are handling several servers. Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México