Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
update docs
Thiago Araujo da Silva5b8edbb3c3b3
diff --git a/docs/documentation/platform/audit-log-streams/audit-log-streams-with-fluentbit.mdx b/docs/documentation/platform/audit-log-streams/audit-log-streams-with-fluentbit.mdxindex d763fb07a1..f1f6e711d2 100644--- a/docs/documentation/platform/audit-log-streams/audit-log-streams-with-fluentbit.mdx+++ b/docs/documentation/platform/audit-log-streams/audit-log-streams-with-fluentbit.mdx@@ -59,3 +59,7 @@ The following Fluent Bit configuration sets up an HTTP listener on port `8888` aOnce Fluent Bit is set up and configured, you can point the Infisical [audit log stream](/documentation/platform/audit-log-streams/audit-log-streams) to Fluent Bit's HTTP listener, which will then forward the logs to your chosen provider.Using this pattern, you are able to send Infisical Audit logs to various providers that do not support HTTP based log ingestion by default.++<Info>+ Infisical delivers events to Custom endpoints (including Fluent Bit) as a [JSON array of events](/documentation/platform/audit-log-streams/audit-log-streams#delivery-format) per request. Fluent Bit's `http` input accepts JSON arrays and emits each element as a separate record, so no extra configuration is required.+</Info>diff --git a/docs/documentation/platform/audit-log-streams/audit-log-streams.mdx b/docs/documentation/platform/audit-log-streams/audit-log-streams.mdxindex 2621739c75..b926aea343 100644--- a/docs/documentation/platform/audit-log-streams/audit-log-streams.mdx+++ b/docs/documentation/platform/audit-log-streams/audit-log-streams.mdx@@ -47,6 +47,10 @@ This prevents audit logs from being written to PostgreSQL while still streaming+ <Info>+ Custom endpoints receive audit logs as a **JSON array of events** per request (batch delivery). Make sure your receiver accepts an array. See [Delivery Format](#delivery-format) for details.+ </Info>+Once you're finished, click **Create Log Stream**.</Step><Step title="Log Stream Created">@@ -334,8 +338,29 @@ This prevents audit logs from being written to PostgreSQL while still streaming</Accordion></AccordionGroup>+## Delivery Format++Infisical streams audit logs to your destination in **batches**. Rather than sending one HTTP request per event, Infisical accumulates events and delivers them together, which improves throughput and reduces load on your receiver.++For **Custom** streams, each request is an HTTP `POST` with a body containing a **JSON array** of audit log events:++```json+[+ { "id": "...", "eventType": "create-secret", "...": "..." },+ { "id": "...", "eventType": "get-secrets", "...": "..." }+]+```++Your endpoint must be able to accept a JSON array. Batches are bounded — your receiver should be prepared to handle up to **500 events** or **1 MB** per request. The managed providers (Azure, Cribl, Datadog, Splunk) are batched automatically using each provider's native bulk-ingestion format.++<Note>+ **Legacy single-event delivery.** Custom streams created before batch delivery was introduced continue to receive **one event per request** as a single JSON object (not an array), so existing receivers keep working unchanged. You can upgrade such a stream to batch delivery by editing it and enabling **Batch delivery** in the form. This switch is **one-way** — once a stream is on batch delivery it cannot be reverted to single-event delivery, so confirm your endpoint accepts a JSON array before enabling it.+</Note>+### Example Log Entry+The example below shows a single audit log event. For Custom streams using batch delivery, this object appears as an element inside the JSON array described above.+```created-secret.json{"id": "7dc1713b-d787-4147-9e21-770be01cc992",