Auditing Connection to Database

30 views
Skip to first unread message

stevanus hendry

unread,
Apr 7, 2021, 11:45:36 AM4/7/21
to Google Cloud SQL discuss
Hello, I need an audit connection to the database PostgreSQL on cloud SQL, but  I did not implement log_connections. How can I get connection history beside log_connections?

Thanks

yananc

unread,
Apr 21, 2021, 11:51:46 AM4/21/21
to Google Cloud SQL discuss

Hi, 

I would like to suggest you explore the Audit logs for more connection information on Cloud SQL. However, as per the Feature Request, currently the only way to audit new connections to the database is when the connections are performed via the Cloud SQL admin API. 

Hope it helps.

Reply all
Reply to author
Forward
0 new messages