Skip to content

Commit

Permalink
remove aiven enterprise info
Browse files Browse the repository at this point in the history
  • Loading branch information
wojcik-dorota committed Jul 17, 2024
1 parent 335efa4 commit ea26c5b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 20 deletions.
6 changes: 2 additions & 4 deletions docs/products/postgresql/concepts/pg-audit-logging.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Aiven for PostgreSQL® audit logging
sidebar_label: Audit logging
enterprise: true
---

A path to optimal data security, compliance, incident management, and system performance starts with [collecting robust audit logs](/docs/products/postgresql/howto/use-pg-audit-logging).
Expand Down Expand Up @@ -106,7 +105,6 @@ The audit logging feature has application in the following industries:

Aiven for PostgreSQL® audit logging requires the following:

- `[Aiven Enterprise](/docs/platform/howto/aiven-enterprise)`
- Aiven for PostgreSQL version 11 or later
- `avnadmin` superuser role
- [psql](https://www.postgresql.org/docs/current/app-psql.html) for advanced configuration
Expand All @@ -116,7 +114,7 @@ Aiven for PostgreSQL® audit logging requires the following:
### Activation with predefined settings

To use the audit logging on your service (database) for collecting logs in Aiven for
PostgreSQL, you need to
PostgreSQL,
[enable and configure this feature](/docs/products/postgresql/howto/use-pg-audit-logging)
using the [Aiven Console](https://console.aiven.io), the [Aiven CLI](/docs/tools/cli), or
[psql](https://www.postgresql.org/docs/current/app-psql.html).
Expand Down Expand Up @@ -185,7 +183,7 @@ use [OpenSearch Dashboards](/docs/products/opensearch/dashboards).

To
[disable the audit logging on your service (database)](/docs/products/postgresql/howto/use-pg-audit-logging),
you need to modify your service's advanced configuration with the
modify your service's advanced configuration with the
[Aiven Console](https://console.aiven.io), the [Aiven CLI](/docs/tools/cli), or
[psql](https://www.postgresql.org/docs/current/app-psql.html).

Expand Down
1 change: 0 additions & 1 deletion docs/products/postgresql/howto/list-pgaudit.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: PGAudit logging
enterprise: true
---

import DocCardList from '@theme/DocCardList';
Expand Down
23 changes: 8 additions & 15 deletions docs/products/postgresql/howto/use-pg-audit-logging.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Collect audit logs in Aiven for PostgreSQL®
sidebar_label: Collect audit logs
enterprise: true
---

import AuditLogsOpenSearchDashboards from "@site/static/images/content/products/postgresql/pgaudit-logs-in-os-dashboards.png";
Expand All @@ -10,7 +9,6 @@ Enable and configure the [Aiven for PostgreSQL® audit logging feature](/docs/pr

## Prerequisites

- `[Aiven Enterprise](/docs/platform/howto/aiven-enterprise)`
- PostgreSQL version 11 or higher
- `avnadmin` superuser role
- Dev tool of your choice to interact with the feature
Expand All @@ -35,14 +33,14 @@ import TabItem from '@theme/TabItem';

:::important
In [Aiven Console](https://console.aiven.io/), you can enable audit logging at the service
level only. To enable it on a database or for a user, you need to use
level only. To enable it on a database or for a user, use
[psql](https://www.postgresql.org/docs/current/app-psql.html).
:::

1. Log in to [Aiven Console](https://console.aiven.io/), and navigate to your organization
1. Log in to [Aiven Console](https://console.aiven.io/), and go to your organization
\> project > Aiven for PostgreSQL service.
1. On the **Overview** page of your service, select **Service settings** from the sidebar.
1. On the **Service settings** page, navigate to the **Advanced configuration** section
1. On the **Service settings** page, go to the **Advanced configuration** section
and select **Configure**.
1. In the **Advanced configuration** window, select **Add configuration options**, add
the `pgaudit.feature_enabled` parameter, set it to `true`, and select
Expand Down Expand Up @@ -121,10 +119,10 @@ service only. To enable it on a database or for a user, use
[psql](https://www.postgresql.org/docs/current/app-psql.html).
:::

1. Log in to [Aiven Console](https://console.aiven.io/), and navigate to your organization
1. Log in to [Aiven Console](https://console.aiven.io/), and go to your organization
\> project > Aiven for PostgreSQL service.
1. On the **Overview** page of your service, select **Service settings** from the sidebar.
1. On the **Service settings** page, navigate to the **Advanced configuration** section
1. On the **Service settings** page, go to the **Advanced configuration** section
and select **Configure**.
1. In the **Advanced configuration** window, select **Add configuration options**, find a
desired parameter (all prefixed with `pgaudit.log`), set its value as needed, and
Expand Down Expand Up @@ -200,7 +198,7 @@ You can access your Aiven for PostgreSQL audit logs either
### Access in Aiven for PostgreSQL {#access-pg-log}
1. Log in to the [Aiven Console](https://console.aiven.io/), and navigate to your
1. Log in to the [Aiven Console](https://console.aiven.io/), and go to your
organization > project > Aiven for PostgreSQL service.
1. On the **Overview** page of your service, select **Logs** from the sidebar.
Expand Down Expand Up @@ -280,11 +278,6 @@ Disable audit logging by setting the `pgaudit.feature_enabled` parameter to
[console](https://console.aiven.io/), [CLI](/docs/tools/cli), or
[psql](https://www.postgresql.org/docs/current/app-psql.html).

:::important
Audit logging is disabled automatically if you unsubscribe from
`[Aiven Enterprise](/docs/platform/howto/aiven-enterprise)`.
:::

<Tabs>
<TabItem value="1" label="Aiven Console" groupId="group1" default>
### Disable in Aiven Console
Expand All @@ -295,10 +288,10 @@ service only. To disable it on a database or for a user, use
[psql](https://www.postgresql.org/docs/current/app-psql.html).
:::

1. Log in to [Aiven Console](https://console.aiven.io/), and navigate to your organization
1. Log in to [Aiven Console](https://console.aiven.io/), and go to your organization
\> project > Aiven for PostgreSQL service.
1. On the **Overview** page of your service, select **Service settings** from the sidebar.
1. On the **Service settings** page, navigate to the **Advanced configuration** section
1. On the **Service settings** page, go to the **Advanced configuration** section
and select **Configure**.
1. In the **Advanced configuration** window, select **Add configuration options**, add the
`pgaudit.feature_enabled` parameter, set it to `false`, and select
Expand Down

0 comments on commit ea26c5b

Please sign in to comment.