Audit log streams is a paid feature.

If you’re using Infisical Cloud, then it is available under the Enterprise Tier. If you’re self-hosting Infisical, then you should contact [email protected] to purchase an enterprise license to use it.

Infisical Audit Log Streaming enables you to transmit your organization’s Audit Logs to external logging providers for monitoring and analysis.

The logs are formatted in JSON, requiring your logging provider to support JSON-based log parsing.

Overview

1

Navigate to Organization Settings in your sidebar.

2

Select Audit Log Streams Tab.

3

Click on Create

Provide the following values

Endpoint URL
string
required

The HTTPS endpoint URL of the logging provider that collects the JSON stream.

Headers
string

The HTTP headers for the logging provider for identification and authentication.

Your Audit Logs are now ready to be streamed.

Example Providers

Better Stack

1

Select Connect Source

2

Provide a name and select platform

3

Provide Audit Log Stream inputs

  1. Copy the endpoint from Better Stack to the Endpoint URL field.
  2. Create a new header with key Authorization and set the value as Bearer <source token from betterstack>.

Datadog

1

Navigate to API Keys section

2

Select New Key and provide a key name

3

Find your Datadog region specific logging endpoint.

  1. Navigate to the Datadog Send Logs API documentation.
  2. Pick your Datadog account region.
  3. Obtain your Datadog logging endpoint URL.
4

Provide audit log stream inputs

  1. Copy the logging endpoint from Datadog to the Endpoint URL field.
  2. Copy the API Key from previous step
  3. Create a new header with key DD-API-KEY and set the value as API Key.