Overview
Klyra’s Audit Logs provide a complete, immutable record of all moderation activities in your account. These logs help you track moderation decisions, investigate incidents, and maintain compliance with regulatory requirements.Audit Logs are available on all paid plans. The retention period varies by plan: Startup (30 days), Business (90 days), Enterprise (1+ year).
Accessing Audit Logs
Via Dashboard
You can access Audit Logs directly in the Klyra Dashboard:- Log in to the Klyra Dashboard
- Navigate to Project Settings > Audit Logs
- Use the filters to narrow down the logs by date, event type, user, etc.
- Click on any log entry to view its details
Via API
You can also access Audit Logs programmatically through our API:Log Types
Klyra logs the following types of events:Moderation Events
Administrative Events
Log Data Structure
Each audit log entry contains the following fields:- id: Unique identifier for the audit log entry
- timestamp: When the event occurred (in ISO 8601 format)
- event_type: The type of event (from the tables above)
- actor: Who or what performed the action
- resource: The object that was acted upon
- action: The action that was performed (create, read, update, delete)
- status: Whether the action succeeded or failed
- metadata: Additional context about the event
Filtering Logs
You can filter logs by various criteria in both the Dashboard and API:- Time range: Filter logs by start and end time
- Event types: Filter by specific event types
- Actors: Filter by specific users or API keys
- Resources: Filter by specific resources (e.g., moderation IDs)
- Status: Filter by success or failure status
- Client IP: Filter by the IP address that initiated the request
Log Exports
You can export audit logs for offline analysis or long-term storage:Dashboard Export
- Apply filters to narrow down the logs you want to export
- Click the Export button
- Choose your preferred format (CSV or JSON)
- Click Export to download the file
API Export
Log Retention
Log retention periods vary by plan:SIEM Integration
Enterprise customers can integrate Klyra Audit Logs directly with their Security Information and Event Management (SIEM) systems:Supported Integrations
- Splunk: Direct integration via HTTP Event Collector
- Datadog: Log forwarding via Datadog’s API
- Sumo Logic: Real-time log streaming
- AWS CloudWatch: Log export to CloudWatch
- Azure Monitor: Log export to Azure Monitor
- Google Cloud Logging: Log export to Google Cloud Logging
Compliance
Klyra Audit Logs are designed to help you meet compliance requirements:- Immutable records: Logs cannot be altered or deleted
- Tamper-evident: Cryptographically signed to detect tampering
- Comprehensive: All user and system actions are logged
- Detailed metadata: Each log includes relevant context
- Access controls: Logs can only be viewed by authorized users