I am trying to run logs for Azure Database for PostgreSQL flexible server, but I keep on getting this in the image below, what could be the solution?
CodePudding user response:
In order to access the logs, we need to enable diagnostic settings on the Postgres server. Here are the necessary steps to take.
Step1:
Click on "Add Diagnostic setting"
Enter name and click on respective log services, click on save
Verification:
Goto Monitor -> logs and run the query