I did not have the logs activated but I need to know who have accessed my database is a postgres sql

Victor Alan Miranda Cortez 0 Reputation points
2025-01-29T16:17:58.72+00:00

I did not have the logs activated but I need to know who have accessed my database to know that IP was used to access the system is there a way to get that historical the database is SQL progress?

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. Abiola Akinbade 24,745 Reputation points
    2025-01-29T21:53:20.82+00:00

    Hello Victor Alan Miranda Cortez,

    Thanks for your question.

    To my knowledge, If logging wasn’t previously enabled, retrieving past access details isn’t possible. However, to ensure you have this information moving forward, you can set up logging and auditing features in Azure Database for PostgreSQL. See: Configure Logs

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.