Log streams are available on the Business plan and above.
Add a log stream
1
Open Log streams
In the console, go to Activity log and choose Log streams. Changing streams needs both Manage sign-in security and See sign-in history, because a stream sends every sign-in and where it came from.
2
Choose where it goes
Choose Add log stream, give it a Name, and pick a destination under Where it goes. The form shows the fields and setup steps for that destination.
3
Choose what to send
Under What to send, tick activity groups to send only those. Choose nothing to send everything.
4
Test and save
Choose Send a test event, then Add stream.
Destinations
HTTPS address
Any tool that accepts aPOST, such as Sumo Logic, Elastic, Rapid7 or your own service.
Each post is signed the same way as webhooks, with the
webhook-id, webhook-timestamp and webhook-signature headers. The signing secret is shown once, after you save. Choose New signing secret to replace it.
A test sent before you save is signed with a throwaway secret, so a tool that checks signatures refuses it. Save first to test with the real secret.
Splunk
Splunk Cloud or Splunk Enterprise, through the HTTP Event Collector.
In Splunk, open Settings → Data inputs → HTTP Event Collector, make a new token for Aiveth, and choose its index. Each entry arrives as a JSON event with source
aiveth.
Datadog
Datadog Logs, through its HTTP log intake.
In Datadog, open Organization settings → API keys and make a key for Aiveth. Entries arrive in Logs with source
aiveth and service aiveth.
Microsoft Sentinel
A Log Analytics workspace, through the Azure Monitor Logs Ingestion API.1
Register an app
In Microsoft Entra ID, register an app for Aiveth and make a client secret for it.
2
Make a custom table
In your Log Analytics workspace, make a custom table with a data collection rule, with these columns:
TimeGenerated (datetime), event_id (long), at (datetime), action, outcome, who, summary, worked (boolean), actor, actor_user_id, target, target_type, target_id, ip, device, user_agent, request_id, detail (dynamic), organization_id, environment, source.3
Grant the role
On the data collection rule, give the app the Monitoring Metrics Publisher role.
4
Copy the values into Aiveth
Copy the tenant ID, the app’s ID and secret, the logs ingestion endpoint, the rule’s immutable ID and the stream name.
Amazon S3
One file per batch in your own bucket. Aiveth never holds an AWS key: it takes on a role in your account.
In AWS IAM, make a role with the Trust policy the console shows. It names Your external ID, which is unique to your organization. Give the role
s3:PutObject on the bucket (and folder), and nothing else. Aiveth writes one file per batch at folder/YYYY/MM/DD/time_firstid.ndjson.
If Amazon S3 isn’t available as a destination yet, the console says so.
What an entry looks like
Each entry is one activity log row, in the activity log’s own shape, plus where it came from:id.
Batching, retries and stopping
- Aiveth checks for new entries every 5 seconds and sends up to 100 at a time, oldest first.
- A stream moves on only after your tool answers with a
2xx(for S3, after the file is written). Newer entries wait behind a failed batch, so order is always kept. - A failed batch is retried on the webhook schedule: after about 5 seconds, 5 minutes, 30 minutes, 2 hours and so on, about 3 days in all. A busy tool’s
Retry-Afteris respected. - After 3 days of nothing but failures, the stream stops with an error, your Owners are emailed, and the activity log records it.
- Fix the stream and save it, or choose Resume. It carries on from where it stopped, so nothing is lost while the entries are still inside the activity log’s one year.
- Pause stops sending until you resume.
- A suspended organization, or a plan without log streams, leaves entries waiting.