Manage export configurations EARLY ACCESS
You can export universe logs to third-party tools for analysis and customization. Exporting data is a two-stage process:
- Create an export configuration. A configuration defines the sign in credentials and settings for the tool that you want to export to.
- Use the configuration to export logs from a universe. While the connection is active, logs are automatically streamed to the tool.
Currently, you can export data to the following tools:
For information on how to export logs from a universe using an export configuration, refer to Export logs.
Prerequisites
Export configuration is EA
. To enable export configuration management, set the Enable DB Audit Logging Global Configuration option (config key yb.universe.audit_logging_enabled
) to true. Refer to Manage runtime configuration settings. Note that only a Super Admin user can modify Global configuration settings. The flag can't be turned off if audit logging is enabled on a universe.
Best practices
- To limit performance impact and control costs, locate export configurations in a region close to your universe(s).
Configure integrations
Create and manage export configurations on the Integrations > Log page.
The page lists the configured and available third-party integrations.
Manage integrations
You can add and delete export configurations for the following tools. You can't delete a configuration that is in use by a universe.
The Datadog export configuration requires the following:
- Datadog account
- Datadog API key
To create an export configuration, do the following:
- On the Integrations page, on the Log tab, click Create Export Configuration.
- Enter a name for the configuration.
- Choose Datadog.
- Enter your Datadog API key.
- Choose the Datadog site to connect to, or choose Self-hosted and enter your URL.
- Click Create Configuration.
The Splunk export configuration requires the following:
- Splunk access token
- Endpoint URL
To create an export configuration, do the following:
- On the Integrations page, on the Log tab, click Create Export Configuration.
- Enter a name for the configuration.
- Choose Splunk.
- Enter your Splunk Access token.
- Enter the Endpoint URL.
- Optionally, enter the Source, Source Type, and Index.
- Click Validate and Create Configuration.
The AWS CloudWatch export configuration requires the following:
- Access Key ID and Secret Access Key for the AWS Service Account
- The log group and log stream
- The AWS region where the stream is located
To create an export configuration, do the following:
- On the Integrations page, on the Log tab, click Create Export Configuration.
- Enter a name for the configuration.
- Choose AWS CloudWatch.
- Enter your access key and secret access key.
- Enter the Log group and Log stream.
- Enter the region.
- Optionally, provide the ARN for the role.
- Optionally, provide an endpoint URL.
- Click Validate and Create Configuration.
The GCP Cloud Logging export configuration requires the following:
- Google Service Account credentials JSON
To create an export configuration, do the following:
- On the Integrations page, on the Log tab, click Create Export Configuration.
- Enter a name for the configuration.
- Choose GCP Cloud Logging.
- Optionally, provide the project name.
- Upload the JSON file containing your Google Cloud credentials.
- Click Validate and Create Configuration.
To view configuration details, select the configuration.
To delete a configuration, click Actions and choose Delete.
You can't modify an existing configuration. If you need to change the configuration (for example, to replace or update an API key) for a particular tool, do the following:
- Create a new configuration for the provider with the updated information.
- Assign the new configuration to your universes.
- Unassign the old configuration from universes.
- Delete the old configuration.