Audit Log Streams
Learn how to stream Infisical Audit Logs to external logging providers.
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 team@infisical.com 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
Navigate to Organization Settings in your sidebar.
Select Audit Log Streams Tab.
Click on Create
Provide the following values
The HTTPS endpoint URL of the logging provider that collects the JSON stream.
The HTTP headers for the logging provider for identification and authentication.
Your Audit Logs are now ready to be streamed.
Example Providers
Better Stack
Select Connect Source
Provide a name and select platform
Provide Audit Log Stream inputs
- Copy the endpoint from Better Stack to the Endpoint URL field.
- Create a new header with key Authorization and set the value as Bearer <source token from betterstack>.
Datadog
Navigate to API Keys section
Select New Key and provide a key name
Find your Datadog region specific logging endpoint.
- Navigate to the Datadog Send Logs API documentation.
- Pick your Datadog account region.
- Obtain your Datadog logging endpoint URL.
Provide audit log stream inputs
- Copy the logging endpoint from Datadog to the Endpoint URL field.
- Copy the API Key from previous step
- Create a new header with key DD-API-KEY and set the value as API Key.
Was this page helpful?