log_connections cannot be set on Azure PostgreSQL Flexible Server

Gupta, Abhik 21 Reputation points
2022-01-05T08:10:42.927+00:00

While attempting to turn on the "log_connections" server parameter on an Azure Flexible Server PostgreSQL instance, I receive an error (from terraform):

Error: waiting for create/update of Flexible Server Configuration: (Configuration Name "log_connections" / Flexible Server Name "<name>" / Resource Group "<resourcegroup>"): Code="OperationFailed" Message="{0}"

The parameter is also greyed out in the Azure Portal and marked as "read-only". Logging connections is often a compliance action for companies. Is it not supported by Azure Flexible server?

Azure Database for PostgreSQL
{count} votes

Accepted answer
  1. Anurag Sharma 17,571 Reputation points
    2022-01-10T06:16:12.657+00:00

    Hi @Gupta, Abhik , thanks for your patience. We have received the reply back from product team.

    This is intentional as we want to make sure all connections are logged and intercepted to make sure connections are coming in from right sources for security reasons. This is different for Single Server and Flexible Server and this information will be updated in article/documents at the earliest.

    Please let us know if this helps. If answer helps, you can mark it 'Accept Answer'.


0 additional answers

Sort by: Most helpful