We are running webinator 5.1.24 for windows and would like to have a script that would export the query logs to a csv file over a unc path to another server.
The basics would be something like
<write append "\\path\to\file">
<sql row "select * from querylog">
<fmt "%at" "%Y-%m-%d %H:%M:%S" $id>,"$Client","$Info","$Query"
</sql>
</write>