Skip to content

Commit

Permalink
Patch 527 (#548)
Browse files Browse the repository at this point in the history
* Update log-disconnections-enabled.md

* Update log-disconnections-enabled.md

* Images updated for all steps

* Update log-disconnections-enabled.md

* Update en/azure/postgresqlserver/log-disconnections-enabled.md

* Update en/azure/postgresqlserver/log-disconnections-enabled.md

Co-authored-by: alphadev4 <[email protected]>
  • Loading branch information
shuklaalok87 and alphadev4 authored Oct 19, 2022
1 parent fc80aad commit 2c6fec9
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions en/azure/postgresqlserver/log-disconnections-enabled.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@

## Detailed Remediation Steps

1. Log into the Microsoft Azure Management Console.
1. Log in to the Microsoft Azure Management Console.
2. Select the "Search resources, services, and docs" option at the top and search for PostgreSQL. </br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step2.png"/>
3. On the "Azure Database for PostgreSQL servers" page, select the database by clicking on the "Name" as a link that needs to be examine.</br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step3.png"/>
3. On the "Azure Database for PostgreSQL servers" page, select the database by clicking on the "Name" as a link that needs to be examined.</br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step3.png"/>
4. Scroll down the left navigation panel and choose "Server parameters" under "Settings."</br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step4.png"/>
5. On the "Server parameters" page, search for "log_disconnections" paramter using the "Search for filter item search box." If the value is set to "OFF" then the "log-disconnections" is not enabled for PostgreSQL servers.</br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step5.png"/>
6. Repeat steps number 2 - 5 to verify other "PostgreSQL" databases in the account.</br>
7. Navigate to "PostgreSQL", select the database by clicking on the "Name" and choose "Server parameters" under "Settings" from the left navigation panel.</br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step7.png"/>
8. On "Server Parameter" page, search for "log_disconnections" paramter using the "Search for filter item search box" and enable it by selecting "ON" from the toggle configuration button.</br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step8.png"/>
9. Click on the "Save" button at the top to make the changes.</br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step9.png"/>
10. Repeat steps number 7 - 9 to ensure the server parameters for each PostgreSQL server have the log_disconnections setting enabled.</br>
5. On the "Server parameters" page, search for "log_disconnections" paramter using the "Search for filter item search box." If the value is set to "OFF" then the "log-disconnections" is not enabled for PostgreSQL servers. This is against Azure best practices.</br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step5.png"/>
6. To enable "log_disconnections" select "ON" from the toggle configuration button.</br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step6.png"/>
7. Click on the "Save" button at the top to make the changes.</br> <img src="/resources/azure/postgresqlserver/log-disconnections-enabled/step7.png"/>
8. Repeat step number 3 - 7 to ensure the server parameters for each PostgreSQL server have the log_disconnections setting enabled.</br>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.

0 comments on commit 2c6fec9

Please sign in to comment.