Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions docs/KafkaBasedUCs/AzurePostgreSQLEventHubKafkaConnect.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,18 @@ There are multiple ways to install a Postgres server. For this example, we assum
3. Select **shared_preload_libraries** as PGAUDIT and save.
4. Go to overview and restart the server to apply the changes.
5. After installation of pgAudit, you can configure its parameters to start logging.
6. On the Database auditing page, go to **Settings** > **server parameters** and set the following parameters.
a. **log_checkpoints** = `off`
b. **log_error_verbosity** = `VERBOSE`
c. **log_line_prefix** = Specify as based on your requirement but should include timestamp, client ip, client port, database
username, database name, process id, application name, sql state. For more information,
see [Error Reporting and Logging](https://www.postgresql.org/docs/current/runtime-config-logging.html#GUC-LOG-LINE-PREFIX).
d. **pgaudit.log** = `DDL,FUNCTION,READ,WRITE,ROLE`
e. **pgaudit.log_catalog** = `off`
f. **pgaudit.log_client** = `off`
g. **pgaudit.log_parameter** = `off`
7. Click **Save**.
1. On the Database auditing page , go to **Settings** and select **server parameters** and set the server parameters as follows:
- **log_checkpoints** = `off`
- **log_error_verbosity** = `VERBOSE`
- **log_line_prefix** = specify as per requirement but should include
timestamp, client ip, client port, database username, database name, process id, application name,sql state.
For information regarding timestamp, client ip, client port, database username, database name, process id, application name,sql state parameters, see [Error Reporting and Logging](https://www.postgresql.org/docs/current/runtime-config-logging.html#GUC-LOG-LINE-PREFIX).
(eg:- %t:%r:%u@%d:[%p]:%a:%e)
- **pgaudit.log** = `DDL,FUNCTION,READ,WRITE,ROLE`
- **pgaudit.log_catalog** = `off`
- **pgaudit.log_client** = `off`
- **pgaudit.log_parameter** = `off`
6. Click **save**.

## Configuring Azure Event Hub

Expand Down
Loading