Question about pgaudit and the logfile
Question about pgaudit and the logfile
От:
M Jane <mskiesewetter@gmail.com>
Дата:
Hi everyone,
I am looking into the pgaudit extension and I have read in the readme file that the audit logging is being written to the alertlog of the Postgresql instance.
Is there an option to write the auditing to another file? or maybe to the database itself?
Thanks in advance.
regards,
Marian
Re: Question about pgaudit and the logfile
От:
Luca Ferrari <fluca1978@gmail.com>
Дата:
On Tue, Oct 15, 2019 at 11:25 AM M Jane wrote: > I am looking into the pgaudit extension and I have read in the readme file that the audit logging is being written to the alertlog of the Postgresql instance. > Is there an option to write the auditing to another file? or maybe to the database itself? As far as i know, no. pg_audit exploits the PostgreSQL logging system, so it strongly depends on it. I hope there will be an option for separate logging too. Luca
Re: Question about pgaudit and the logfile
От:
M Jane <mskiesewetter@gmail.com>
Дата:
Hi Luca,
Thanks for your answer. That's too bad. I was hoping for a solution.
regards,
Marian
Op wo 16 okt. 2019 om 09:20 schreef Luca Ferrari <fluca1978@gmail.com>:
On Tue, Oct 15, 2019 at 11:25 AM M Jane <mskiesewetter@gmail.com> wrote:
> I am looking into the pgaudit extension and I have read in the readme file that the audit logging is being written to the alertlog of the Postgresql instance.
> Is there an option to write the auditing to another file? or maybe to the database itself?
As far as i know, no.
pg_audit exploits the PostgreSQL logging system, so it strongly depends on it.
I hope there will be an option for separate logging too.
Luca
Re: Question about pgaudit and the logfile
От:
Luca Ferrari <fluca1978@gmail.com>
Дата:
On Thu, Oct 17, 2019 at 12:24 PM M Jane wrote: > > Hi Luca, > Thanks for your answer. That's too bad. I was hoping for a solution. Of course, it is possible to plug in self-made solutions: - file fdw to read log files (and import into tables) - mixture of unix tools to dump AUDIT log entries to a separate log file. Luca
Re: Question about pgaudit and the logfile
От:
Luca Ferrari <fluca1978@gmail.com>
Дата:
On Thu, Oct 17, 2019 at 1:40 PM Luca Ferrari wrote: > Of course, it is possible to plug in self-made solutions: > - file fdw to read log files (and import into tables) > - mixture of unix tools to dump AUDIT log entries to a separate log file. Seems someone already thought about: . Luca