Audit logs Enterprise
Track and review all user activity in your workspaces with comprehensive audit logging.
What's logged
| Category | Events |
|---|---|
| Authentication | Login, logout, failed attempts |
| Documents | Upload, edit, delete |
| Search | Queries, results viewed |
| Team | Invitations, role changes |
| Settings | Configuration changes |
| API | Key creation, usage |
Viewing audit logs
- Go to Settings > Security > Audit Logs
- Use filters to narrow results:
- Date range
- User
- Action type
- Resource
Log entry format
Each entry includes:
| Field | Description |
|---|---|
| Timestamp | When the action occurred (UTC) |
| Actor | User who performed action |
| Action | What was done |
| Resource | Affected resource |
| IP Address | Origin IP address |
| Details | Additional context |
Example entries
Document uploaded
{
"timestamp": "2025-01-01T12:00:00Z",
"actor": "user@example.com",
"action": "document.upload",
"resource": "doc_abc123",
"ip": "192.168.1.100",
"details": {
"title": "Annual Report",
"size": 1234567,
"format": "pdf"
}
}
Role changed
{
"timestamp": "2025-01-01T12:00:00Z",
"actor": "admin@example.com",
"action": "member.role_changed",
"resource": "user_xyz789",
"ip": "192.168.1.100",
"details": {
"previousRole": "member",
"newRole": "admin"
}
}
Exporting logs
Via UI
- Click Export in Audit Logs view
- Choose format (CSV, JSON)
- Select date range
- Download file
Via API
curl -X GET "https://api.synjar.com/v1/audit-logs" \
-H "Authorization: Bearer $API_KEY" \
-d "startDate=2025-01-01&endDate=2025-01-31"
Retention
| Plan | Retention period |
|---|---|
| Enterprise | 1 year |
| Enterprise+ | 3 years |
| Custom | Configurable |
Logs are automatically deleted after the retention period.
Compliance
Audit logs help with:
- SOC 2 - Access control evidence
- HIPAA - PHI access tracking
- GDPR - Data access auditing
- ISO 27001 - Security monitoring
Best practices
- Review logs weekly for anomalies
- Set up alerts for sensitive actions
- Export logs for long-term storage
- Include in security incident response