Skip to content

Commit 483f868

Browse files
committed
Update concepts-audit.md
1 parent 13503fa commit 483f868

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/postgresql/concepts-audit.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Audit logging of database activities in Azure Database for PostgreSQL - Single S
1616
> pgAudit can be enabled on General Purpose and Memory Optimized servers only.
1717
1818
## Usage considerations
19-
By default, pgAudit log statements are emitted along with your regular log statements by using Postgres's standard logging facility. In Azure Database for PostgreSQL, these .log files can be downloaded through the Azure portal or the CLI. The maximum storage for the collection of files is 1 GB, and each file is available for a maximum of 7 days (the default is 3 days). This is a short-term storage option.
19+
By default, pgAudit log statements are emitted along with your regular log statements by using Postgres's standard logging facility. In Azure Database for PostgreSQL, these .log files can be downloaded through the Azure portal or the CLI. The maximum storage for the collection of files is 1 GB, and each file is available for a maximum of seven days (the default is three days). This service is a short-term storage option.
2020

2121
Alternatively, you can configure all logs to be emitted to Azure Monitor's diagnostic log service. If you enable Azure Monitor diagnostic logging, your logs will be automatically sent (in JSON format) to Azure Storage, Event Hubs, and/or Azure Monitor logs, depending on your choice.
2222

23-
Enabling pgAudit generates a large volume of logging on a server which has an impact on performance and log storage. We recommend that you use the Azure diagnostic log service which offers longer-term storage options, as well as analysis and alerting features. We recommend that you turn off standard logging to reduce the performance impact of additional logging:
23+
Enabling pgAudit generates a large volume of logging on a server, which has an impact on performance and log storage. We recommend that you use the Azure diagnostic log service, which offers longer-term storage options, as well as analysis and alerting features. We recommend that you turn off standard logging to reduce the performance impact of additional logging:
2424

2525
1. Set the parameter `logging_collector` to OFF.
2626
2. Restart the server to apply this change.
@@ -39,7 +39,7 @@ Using the [Azure portal](https://portal.azure.com):
3939
4. Select **pgaudit**.
4040
5. Restart the server to apply the change.
4141

42-
6. Connect to your server using a client (like psql) and enable the pgaudit extension
42+
6. Connect to your server using a client (like psql) and enable the pgAudit extension
4343
```SQL
4444
CREATE EXTENSION pgaudit;
4545
```
@@ -82,4 +82,4 @@ To quickly get started, set `pgaudit.log` to `WRITE`, and open your logs to revi
8282
8383
## Next steps
8484
- [Learn about logging in Azure Database for PostgreSQL](concepts-server-logs.md)
85-
- Leran how to set parameters using the [Azure portal](howto-configure-server-parameters-using-portal.md), [Azure CLI](howto-configure-server-parameters-using-cli.md), or [REST API](/rest/api/postgresql/configurations/createorupdate).
85+
- Learn how to set parameters using the [Azure portal](howto-configure-server-parameters-using-portal.md), [Azure CLI](howto-configure-server-parameters-using-cli.md), or [REST API](/rest/api/postgresql/configurations/createorupdate).

0 commit comments

Comments
 (0)