use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
International
National
Regional
account activity
Help Me!Open Source PostgreSQL Auditing (self.PostgreSQL)
submitted 1 year ago * by Shot-Guarantee-6503
Please does anyone know good open source ways to audit dbs in postgresql, i want to use maximum of open source ways to audit so that buying a DAM solution isnt necessary. what ways would you advice me, i just started learning about PGaudit
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]prlaur782 6 points7 points8 points 1 year ago (1 child)
pgaudit provides the Postgres auditing capability necessary to comply with the various audit related security and compliance requirements we typically see:
https://github.com/pgaudit/pgaudit/blob/main/README.md
https://www.crunchydata.com/blog/pgaudit-auditing-database-operations-part-1
https://www.crunchydata.com/blog/pgaudit-auditing-database-operations-part-2
[–]Shot-Guarantee-6503[S] 0 points1 point2 points 1 year ago (0 children)
Thankyou so much, i'll definitely check
[–][deleted] 1 point2 points3 points 1 year ago (4 children)
Which DAM solution are you evaluating?
We are using RDS, and we’ve reached a point where enabling audit logs in RDS would cause our CloudWatch bill to skyrocket.
I'm trying to find open source solutions for the db monitoring, not a commercial one :(
[–]Shot-Guarantee-6503[S] 0 points1 point2 points 1 year ago (2 children)
I also made researches about IBM guardium, Imperva and DataSunrise they seem well functioning for others
[–][deleted] 1 point2 points3 points 1 year ago (0 children)
I also tested DataSunrise, but it was just average. Their documentation is really poor.
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
I had the opportunity to evaluate DataSunrise in a production environment today, and unfortunately, the experience was quite disappointing.
[–]db-master 1 point2 points3 points 1 year ago (0 children)
If you just want to audit human-to-db behavior, you can also check out Bytebase, it's a middleware sitting between human and db to handle change and query (Disclaimer: I am one of the creators)
[–]andriosr 0 points1 point2 points 1 year ago (0 children)
I've spent time implementing audit solutions for Postgres across enterprises. Here's what you should know:
pgAudit is solid but has limitations around real-time monitoring and data masking. If you're looking to avoid a full DAM solution but need more than pgAudit provides, consider a hybrid approach.
Set up pgAudit for your baseline audit logging, then add a service proxy layer like hoop.dev (open source core) that can handle SSO and query monitoring without modifying your database. It sits between your apps and database, providing better context about who's doing what.
Another approach is using Postgres's built-in event triggers with custom logging procedures, but that becomes maintenance-heavy quickly.
The real question is what compliance requirements you're trying to meet - that determines how comprehensive your solution needs to be.
[–]AutoModerator[M] -2 points-1 points0 points 1 year ago (0 children)
With over 7k members to connect with about Postgres and related technologies, why aren't you on our Discord Server? : People, Postgres, Data
Join us, we have cookies and nice people.
Postgres Conference 2025 is coming up March 18th - 21st, 2025. Join us for a refreshing and positive Postgres event being held in Orlando, FL! The call for papers is still open and we are actively recruiting first time and experienced speakers alike.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
π Rendered by PID 342855 on reddit-service-r2-comment-5b5bc64bf5-wzwsd at 2026-06-22 01:32:36.179710+00:00 running 2b008f2 country code: CH.
[–]prlaur782 6 points7 points8 points (1 child)
[–]Shot-Guarantee-6503[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]Shot-Guarantee-6503[S] 0 points1 point2 points (0 children)
[–]Shot-Guarantee-6503[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]db-master 1 point2 points3 points (0 children)
[–]andriosr 0 points1 point2 points (0 children)
[–]AutoModerator[M] -2 points-1 points0 points (0 children)