Skip to content

Commit 49ec4b1

Browse files
committed
fix
1 parent 2c86473 commit 49ec4b1

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

docs/products/postgresql/concepts/pg-audit-logging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,14 @@ For information on all the configuration parameters, preview
169169

170170
### Collecting and visualizing logs
171171

172-
[Access or visualize collected audit logs](/docs/products/postgresql/howto/use-pg-audit-logging)
172+
[Access and visualize collected audit logs](/docs/products/postgresql/howto/use-pg-audit-logging)
173173
using one of the supported methods:
174174

175175
| Methodology | Accessing `pgaudit` logs | Visualizing `pgaudit` logs |
176176
| :--- | :--- | :---
177177
| Aiven for PostgreSQL | Log output from Aiven for PostgreSQL®| [OpenSearch Dashboards](/docs/products/opensearch/dashboards) |
178178
| Aiven-native integration | [Aiven for OpenSearch®](/docs/products/opensearch/)| [OpenSearch Dashboards](/docs/products/opensearch/dashboards) |
179-
| External integration | Remote Syslog (`rsyslog`) | Third-party platforms: Datadog's Log Explorer, Google Cloud's Logs Explorer, Amazon's CloudWatch Logs, and other Syslog-compatible tools |
179+
| External integration | `rsyslog` | Third-party platforms: Datadog, Google Cloud Logging, Amazon CloudWatch Logs, and other syslog-compatible tools |
180180
| Aiven for Apache Kafka | Kafka topic in Aiven for Apache Kafka | Requires a separate downstream tool to consume the log data from Aiven for Kafka and provide visualization |
181181

182182
### Disabling audit logging

docs/products/postgresql/howto/use-pg-audit-logging.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,10 @@ For more details on how to set up, configure, and use session audit logging, che
219219

220220
## Access your logs
221221

222-
Access your Aiven for PostgreSQL audit logs by integrating with an Aiven for OpenSearch®
223-
service, which allows monitoring and analyzing logs.
222+
Choose one of the
223+
[tools or methods for accessing, monitoring, or analyzing your audit logs](/docs/products/postgresql/concepts/pg-audit-logging#collecting-and-visualizing-logs).
224+
225+
Example: **Aiven for OpenSearch®**
224226

225227
<Tabs groupId="group1">
226228
<TabItem value="1" label="Aiven Console" default>
@@ -271,12 +273,20 @@ curl --request POST \
271273

272274
## Visualize your logs
273275

274-
If your logs are available in Aiven for OpenSearch, use
275-
[OpenSearch Dashboards](/docs/products/opensearch/dashboards/get-started) to visualize the
276-
logs.
276+
Choose one of the
277+
[tools or methods for visualizing your collected audit logs](/docs/products/postgresql/concepts/pg-audit-logging#collecting-and-visualizing-logs).
278+
279+
Example: **[OpenSearch Dashboards](/docs/products/opensearch/dashboards/get-started)**
277280

278-
To preview your audit logs in OpenSearch Dashboards, use the filtering tool: select
279-
`AIVEN_AUDIT_FROM`, set its value to `pg`, and apply the filter.
281+
1. Integrate your Aiven for PostgreSQL with Aiven for OpenSearch.
282+
1. Go to OpenSearch Dashboards.
283+
1. Set up **Index Pattern** to match your audit logs index.
284+
1. Filter the audit logs.
285+
1. Go to **Discover**.
286+
1. Select your audit logs index pattern.
287+
1. Use the filter tool: Set the value of `AIVEN_AUDIT_FROM` to `pg`.
288+
1. Apply the filter.
289+
1. Preview and analyze the logs.
280290

281291
<img src={AuditLogsOpenSearchDashboards} class="image"/>
282292

0 commit comments

Comments
 (0)