Audit log streaming
Organization admins can get every Arca audit event into their security tools in two ways:
- Push. Arca sends new events to Splunk, Datadog, Microsoft Sentinel or an HTTPS webhook about once a minute. Set it up in Settings → Audit log → Stream to SIEM.
- Poll. Your tooling reads
GET /api/v1/audit-eventswith an admin's access token and keeps a cursor.
Both carry the same events with the same fields. Delivery is at least once:
after a failure or restart, a batch can arrive twice, so deduplicate on id.
Events are held back for 60 seconds after they are recorded so that none is
skipped while it is still being written.
Event fields
| Field | Type | Meaning |
|---|---|---|
id | string (uuid) | Unique per event. Deduplicate on this. |
organizationId | string (uuid) | Your organization. |
occurredAt | ISO 8601 | When the event was recorded. |
eventType | string | For example RESOURCE_CREATED, ORGANIZATION_MEMBER_ACCESS_UPDATED. |
actionSource | string / null | manual, agent, integration or system. |
actorUserId, actorEmail | string / null | Who did it. Null for system events. |
resourceKind, resourceId | string / null | What it was done to, such as chat and the chat's ID. |
parentResourceKind, parentResourceId | string / null | The resource's container, when there is one. |
originChatId, originToolName | string / null | The chat and tool that made the change, when an agent did it. |
payload | object / null | Event-specific details. |
Resource names are not included: they depend on who is looking. Use the IDs, or open the audit log in Arca.
When you save a destination, Arca sends one AUDIT_LOG_STREAM_TEST event to
check the settings. A destination starts with events recorded after it was
saved; download the CSV from the audit log page for earlier history.
Splunk
- In Splunk, create an HTTP Event Collector token (Settings → Data inputs →
HTTP Event Collector). Splunk Cloud's HEC URL looks like
https://http-inputs-<stack>.splunkcloud.com. - In Arca, choose Splunk, enter the HEC URL and token, and optionally an index.
Events arrive with sourcetype=arca:audit and source=arca; the event
fields are under event.
Datadog
- Create an API key under Organization Settings → API Keys.
- In Arca, choose Datadog, pick your site (the domain in your Datadog URL) and enter the key.
Logs arrive with source:arca and service:arca. The event fields are log
attributes, and the message is the event type.
Microsoft Sentinel
Arca writes to a custom table in your Log Analytics workspace through the Azure Monitor Logs Ingestion API.
-
Create the table. In the workspace, add a custom log table
ArcaAudit_CL(DCR-based) with these columns:Column Type TimeGenerateddatetime id,organizationId,eventTypestring occurredAtdatetime actionSource,actorUserId,actorEmailstring resourceKind,resourceIdstring parentResourceKind,parentResourceIdstring originChatId,originToolNamestring payloaddynamic -
Create the data collection rule. Creating the table in the portal creates one. Its input stream is
Custom-ArcaAudit_CLand its transformation can staysource. Note its immutable ID (dcr-…, on the JSON view) and its logs ingestion URL (on the rule's overview, or on its data collection endpoint). -
Create an app registration in Microsoft Entra ID with a client secret. On the data collection rule, give the app the Monitoring Metrics Publisher role.
-
In Arca, choose Microsoft Sentinel and enter the tenant ID, client ID, client secret, logs ingestion URL, rule immutable ID and stream name.
Query the events with ArcaAudit_CL | sort by TimeGenerated desc.
Webhook
For anything else that accepts HTTPS (Sumo Logic, Cribl, Vector, Elastic via
an HTTP input, an internal collector), choose Webhook. Arca sends a
POST with Content-Type: application/x-ndjson: one JSON event per line,
up to 900 KB per request. If you enter an Authorization header value, such as
Bearer <token> or ApiKey <key>, it is sent unchanged.
Answer 2xx to accept the batch. Any other answer, or no answer within 30
seconds, is a failure: Arca shows the error on the settings page and retries
the same events every minute until they are accepted. The URL must resolve
to a public address.
Poll the feed
GET /api/v1/audit-events?limit=500&cursor=<nextCursor>
Authorization: Bearer <admin token>
X-Organization-Id: <organization id>
| Query param | Meaning |
|---|---|
cursor | The nextCursor from your last response. Omit it to start from the oldest event. |
since | Optional ISO 8601 lower bound (inclusive), for pollers that query fixed time windows. |
until | Optional ISO 8601 upper bound (exclusive). |
limit | 1–500, default 200. |
{
"events": [
{
"id": "…",
"occurredAt": "2026-11-04T17:03:22.123Z",
"eventType": "RESOURCE_CREATED",
"…": "…"
}
],
"nextCursor": "MjAyNi0xMS0wNCAxNzowMzoyMi4xMjM0NTZ8…",
"hasMore": false
}
Events come oldest first. Store nextCursor after you have saved the
events, and pass it on the next call. It stays valid when a page is empty.
When hasMore is true, call again right away; otherwise wait a minute.
The token must belong to an organization owner or admin; other tokens get
403. Because a token belongs to a person, the feed stops if that person
leaves the organization or loses the admin role. A push destination does not
depend on any one person's token.