Activity Logs

Access detailed event logs for every action that occurs within your 8bit-ai organization. Activity Logs provide an immutable audit trail of system events, API calls, configuration changes, and error conditions for troubleshooting, compliance, and security monitoring.

app.8bit-ai.com
Activity Log page

Event Stream

Chronological feed of all system events with rich context

Audit Trail

Tamper-proof records for compliance and security investigations

API Tracking

Monitor all API requests with latency, status codes, and payloads

Error Monitoring

Capture and alert on errors with stack traces and context

Log Filtering

Multi-dimensional filtering with real-time search across all events

Log Export

Export logs in JSON, CSV, or NDJSON for external analysis

Overview

Activity Logs capture every significant event within your 8bit-ai organization. Each log entry contains a timestamp, event type, actor (user or system), resource affected, action performed, and contextual metadata. Logs are immutable once written and are retained according to your organization's data retention policy.

Log Structure

Every log entry follows a consistent structure: a unique event ID, ISO 8601 timestamp, event type and category, actor identification (user ID, API key name, or system), target resource type and ID, action verb, status (success, failure, pending), and a metadata object with event-specific details.

Immutability

Once written, log entries cannot be modified or deleted. This ensures a tamper-proof audit trail for compliance and security investigations. Logs are stored in write-once, read-many (WORM) storage with cryptographic chain verification.

Ingestion Pipeline

Events are ingested through a distributed pipeline that ensures at-least-once delivery with deduplication. Typical end-to-end latency from event occurrence to log availability is under 5 seconds. During peak loads, logs are batched for efficient processing.

Retention and Archival

Active logs are available for search and filtering for the duration of your retention period (configurable from 7 days to unlimited). After the active period, logs are archived to cold storage and can be restored within 24 hours on request.

Event Types

Activity Logs categorize events into distinct types, each with its own schema and metadata structure. Understanding the event taxonomy helps you configure meaningful filters and alerts.

Session Events

Events related to conversation session lifecycle and activity within sessions.

Event TypeDescriptionTriggered By
session.createdNew conversation session startedUser, System
session.messageMessage exchanged in a sessionUser, Agent
session.transferredSession transferred to another agent or humanAdmin, System
session.completedSession ended successfullyUser, Agent
session.failedSession ended with an errorSystem
session.intervenedAdmin intervention performed on a sessionAdmin

API Events

Events tracking all API requests made to the 8bit-ai platform, including REST API calls and SDK interactions.

Event TypeDescriptionTriggered By
api.requestIncoming API request receivedUser, Application
api.responseAPI response sent with status codeSystem
api.errorAPI request resulted in an error responseSystem
api.rate_limitedRequest rejected due to rate limitingSystem

Admin and Configuration Events

Events tracking configuration changes, user management, and administrative actions.

Event TypeDescriptionTriggered By
agent.createdNew agent createdAdmin
agent.updatedAgent configuration changedAdmin
agent.deployedAgent deployed to a channelAdmin
agent.deletedAgent deleted from organizationAdmin
user.invitedNew user invited to organizationAdmin
user.role_changedUser role or permissions updatedAdmin
integration.connectedNew channel integration connectedAdmin
integration.disconnectedChannel integration disconnectedAdmin, System

System and Security Events

Infrastructure, security, and platform-level events related to system health and operations.

System Health Events

service.degradedService performance degradation detected
service.restoredService returned to normal operation
maintenance.startedScheduled maintenance window started
maintenance.completedScheduled maintenance window completed

Security Events

auth.loginUser login successful
auth.login_failedFailed login attempt
auth.token_refreshedAuthentication token refreshed
api_key.createdNew API key generated
api_key.revokedAPI key revoked or expired

Event Schema

Every event includes a standardized envelope with event_id, timestamp,event_type, actor, resource, action,status, and metadata. The metadata object contains event-specific fields documented in the API reference.

Audit Trail

The audit trail provides a tamper-proof record of all actions taken within your organization. It meets the requirements for SOC 2, HIPAA, GDPR, and other regulatory frameworks.

Audit Features

Complete Actor Identification

Every event records the actor: user ID and email for user actions, API key name for programmatic access, or "system" for automated processes. IP addresses and user agent strings are captured for all authenticated requests.

Before and After State

Configuration change events include both the previous and new values. This allows you to see exactly what changed, who changed it, and when, enabling full reconstruction of any resource's state history.

Chain of Custody

Each log entry includes a cryptographic hash of the previous entry, forming an immutable chain. Tampering with historical logs would break the chain and is immediately detectable.

Compliance Reports

Generate audit trail reports filtered by date range, event type, or actor. Reports include a verification hash that can be independently validated against the chain of custody.

Audit Log Entry Example

Each audit log entry contains comprehensive context about the event.

Audit Trail Retention

Audit trail logs are retained for a minimum of 1 year for Pro plans and 7 years for Enterprise plans. Audit logs cannot be deleted even after the retention period; they are transitioned to write-once archival storage.

Log Filtering

Filter and search activity logs using multiple dimensions. The log viewer supports real-time filtering with instant result updates as you adjust filter criteria.

Filter Dimensions

Time Range

Filter by absolute date range or use presets: Last 15 minutes, Last 1 hour, Last 24 hours, Last 7 days, or Custom range.

Event Category

Filter by event category: session, api, agent, auth, integration, system, or security. Multi-select with "Select All" option.

Actor

Filter by who performed the action: specific user, API key, or system events. Supports search-by-email for user actors.

Resource

Filter by affected resource type and ID. Useful for investigating all activity related to a specific agent or session.

Status

Filter by event status: success, failure, or pending. Quickly find failed operations for troubleshooting.

Search Query

Full-text search across all log fields including actor names, resource IDs, and metadata values. Supports the same query syntax as session search.

Saved Log Views

Save frequently used filter combinations as named views. Log views are stored per-user and synchronized across browser sessions.

Example Saved Views:

  • Failed API Calls: Category = api, Status = failure, Last 24 hours
  • Agent Changes: Category = agent, Last 7 days, sorted by timestamp desc
  • Security Events: Category = security, auth, Last 30 days
  • Deployments: Event type contains deployed, Last 7 days

Log Export

Export activity logs for external analysis, compliance auditing, or integration with SIEM (Security Information and Event Management) systems.

Export Formats

JSON Export

Complete log entries in JSON format. Each log entry is a JSON object with all available fields. Supports pretty-print and minified output options.

NDJSON Export

Newline-delimited JSON format. Each line is a complete JSON object. Ideal for streaming ingestion into log aggregation tools like Logstash, Fluentd, or Splunk.

CSV Export

Flat CSV format suitable for spreadsheet analysis. Flattens nested metadata into separate columns. Configurable field selection and column ordering.

SIEM Integration

Direct integration with popular SIEM platforms. Supports syslog forwarding, webhook delivery, and cloud storage (S3, GCS) with automated data formatting.

Export via API

Programmatically export activity logs for automation and integration workflows.

Export Limits

Single export jobs are limited to 100,000 log entries. For larger exports, use multiple date range chunks or contact support for Enterprise bulk export options. Rate limits apply: maximum 10 export jobs per hour.