Re: rawlog data in a lua script

2022-08-08 Thread michael . zork
Hi Aki, On 08.08.22 13:54, Aki Tuomi wrote: Hi, Michael, did you consider my suggestion to use raw events instead of rawlogs for this? I was writing an answer to you next :-) As far as I can see, the "Event Export" only exports events of the requests, but not the full raw responses,

Re: rawlog data in a lua script

2022-08-08 Thread Aki Tuomi
Hi, Michael, did you consider my suggestion to use raw events instead of rawlogs for this? Aki > On 08/08/2022 14:52 EEST michael.z...@feierfighter.de wrote: > > > Hi, > > as far as I know I cannot configure Dovecot to pipe the rawlog into rsyslog. > Or can I, how? > > The rawlog feature

Re: rawlog data in a lua script

2022-08-08 Thread michael . zork
Hi, as far as I know I cannot configure Dovecot to pipe the rawlog into rsyslog. Or can I, how? The rawlog feature in Dovecot writes multiple files (two for each connection, one for raw requests and one for raw responses) into a predefined directory for the user. This generates dozens or

Re: rawlog data in a lua script

2022-08-08 Thread michael . zork
Hi Paul, I don't understand how to use your idea/script together with the rawlog feature of Dovecot. The rawlog feature in Dovecot writes multiple files (two for each connection, one for raw requests and one for raw responses) into a predefined directory for the user. This generates dozens or

Re: rawlog data in a lua script

2022-07-29 Thread Aki Tuomi
On 28 July 2022 13.38.17 UTC, "João Silva" wrote: >Thanks a lot for this thread. > >I was starting to plan a system where multiples processes can write to a file >and completely forgot that syslog is designed to do that. > >It is a perfect solution, I only had to configure a local facility to

Re: rawlog data in a lua script

2022-07-28 Thread João Silva
Thanks a lot for this thread. I was starting to plan a system where multiples processes can write to a file and completely forgot that syslog is designed to do that. It is a perfect solution, I only had to configure a local facility to receive the data and add 3 lines of code to the program

Re: rawlog data in a lua script

2022-07-28 Thread dovecot
> I'm searching for a possibility to have the rawlog feature in lua, which > would be much easier for processing. > > It would be much easier to hook to the "raw request and response events" > inside Dovecot and have the rawlog-data in a lua script, > where I can prepare it and send it to

Re: rawlog data in a lua script

2022-07-28 Thread Paul Kudla (SCOM.CA Internet Services Inc.)
Hi - I use this python script to capture a socket (ie the log file) and then send it to syslog, i use this for all the systems that do not really support syslogging (apache etc) basic useage /usr/bin/nohup /programs/common/capture -s /usr/local/apache2/logs/httpd-access.log -l httpd -d