[dnsdist] format logAction Rows
remi.gacogne at powerdns.com
Fri Aug 9 08:57:15 UTC 2019
On 8/8/19 3:46 PM, Lichtnau Frank wrote:> 1. Is it possible to search in
old threads whithout download all
> topics from Archiv or can I download all threads in one?
I believe you should be able to use a search engine like google to do
that, asking for answers from our mailing-list archives only with
> 2. I use dnsdist from buster V1.3.3 and I need a datetime in the
> LogAction file. The documentation says, I can modify the message
> before it will be written. I need a LUA function for that. But I
> don't know LUA. Has anybody an exemple for me?
I'm afraid you can't modify what LogAction will log, perhaps you are
thinking of RemoteLogAction()?
If you need a timestamp then I believe something based on
RemoteLogAction is a better solution. It will export a protobuf message
containing much more information than what we log with LogAction, and
you can select the ones you want to write to disk from the program
receiving the messages. I'm afraid it will require writing some code,
though. We do provide an example of such a program in Python at .
PowerDNS.COM BV - https://www.powerdns.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the dnsdist