Lutaaya Huzaifah Idris
Lutaaya Huzaifah Idris

Reputation: 4010

Azure Database for PostgreSQL flexible server logs not working

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?

enter image description here

Upvotes: 0

Views: 1141

Answers (1)

Swarna Anipindi
Swarna Anipindi

Reputation: 954

In order to access the logs, we need to enable diagnostic settings on the Postgres server. Here are the necessary steps to take.

Step1: enter image description here

Click on "Add Diagnostic setting"

enter image description here

Enter name and click on respective log services, click on save

enter image description here

Verification:

Goto Monitor -> logs and run the query

enter image description here

Upvotes: 1

Related Questions