Re: Exclude certain application pgaudit logging?

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Exclude certain application pgaudit logging?
Date: 2024-02-06 18:21:27
Message-ID: 598831A0-8F85-42AE-9E4A-B70330537B24@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Feb 6, 2024, at 10:11, Ron Johnson <ronljohnsonjr(at)gmail(dot)com> wrote:
> Thus, I'd like to exclude reads from "Postgresql JDBC Driver". (Currently, I filter that out using "grep -v" in a shell script that runs hourly from cron, but I find that unsatisfactory.)

pgAudit doesn't currently include filters by application name. Philosophically, I don't think you want to filter on application name, because it's a completely client-supplied string that could easily be spoofed.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-02-06 18:23:33 Re: Exclude certain application pgaudit logging?
Previous Message Adrian Klaver 2024-02-06 18:18:12 Re: Exclude certain application pgaudit logging?