Audit Log
The audit log records every significant action in CSDesk, providing a complete trail of who did what and when. Use it for compliance, troubleshooting, security investigations, and accountability.
Accessing the audit log
Section titled “Accessing the audit log”Navigate to Settings → Security & compliance → Audit log to view recorded events. The Settings hub is accessible via the gear icon in the navigation rail.
What is logged
Section titled “What is logged”The audit log captures:
- Authentication: Login, logout, magic link issued/used/failed
- Users: Created, updated, activated, deactivated
- Tickets: Updated, status changes, priority changes, assignment, archived, spam (note: ticket creation is not logged)
- Messages: Public replies, internal notes, edits
- Mail: Inbound/outbound delivery, rejection, parsing failures, and quoted email history removed from a customer reply (shown as “Quoted email history removed from inbound reply”, with the removed text in the details; agents can also open it on the ticket with Show quoted text)
- Organizations: Created, updated
- Settings: Changes to workflow, branding, notifications, SLA, business hours
- Catalog: Groups, tags, custom fields created/updated/deleted, canned responses created/updated
- Email templates: Updated
- Blocked senders: Added, removed
- Billing rules: When billing rules are automatically updated (for example, when a system tag is introduced), a System entry with action
billing_rule.changedis recorded. This entry is not included in the Action Type filter groups; to find it, leave Action Type on All - SLA events: These events do not belong to any group
Each log entry includes:
- Timestamp: When the action occurred (shown in localized date format in the UI)
- Actor: The user name who performed the action, or System for automated changes with no user
- Action: The raw action key (e.g.,
user.updated,billing_rule.changed) - Subject: The affected resource with count of changed fields (e.g., “N fields”)
- IP address: Available only in CSV exports, not shown in the UI
- Details: Additional context (JSON metadata, old/new values, etc.) - viewable when expanding an entry
Filtering the log
Section titled “Filtering the log”Use filters to narrow results:
- Date range: Default is the last 30 days; expand or narrow as needed
- Actor: Filter by a specific user
- Action Type: Show only authentication, ticket, mail, settings, or catalog events
- Subject type: Filter by the type of affected resource (Ticket, User, Organization, etc.)
- Subject ID: Show actions affecting a specific resource (e.g., all events for Ticket #1234)
Filters are combinable. For example, show all ticket actions by a specific user in the last 7 days.
Viewing log entries
Section titled “Viewing log entries”Each entry shows:
- When it happened (localized date format)
- Who did it (actor name only)
- What action (raw action key, e.g.,
user.updated) - Affected resource with count (e.g., “N fields”)
Click an entry to expand and view the full details (JSON metadata, old/new values, etc.). IP addresses are only visible in CSV exports.
Exporting the log
Section titled “Exporting the log”Click Export CSV to download the filtered results as a CSV file.
Export limit: 10,000 rows per export. If your filtered query returns more than 10,000 rows, the export is truncated and a warning row is appended to the CSV.
Filename format: audit-log-YYYY-MM-DD-HHmmss.csv
The CSV includes:
- Timestamp (ISO 8601)
- Actor name
- Actor email
- Action
- Subject type
- Subject ID
- IP address
- Details (JSON)
CSV security
Section titled “CSV security”Cell contents starting with =, +, -, @, tab, or carriage return are prefixed with a single quote (') to prevent CSV formula injection attacks when opened in spreadsheet software.
Retention
Section titled “Retention”Audit log retention is configurable by admins.
Access: Settings → Tickets & workflow → Workflow → Audit log retention
Retention settings
Section titled “Retention settings”Retention period:
- Configurable from 1 to 120 months
- Default: 12 months
- Can be set to “keep forever” (leave blank)
How it works:
- Daily automatic process removes audit log entries older than the retention period
- Old entries are archived before removal
- Live log is cleaned on the next daily run
Viewing retention status
Section titled “Viewing retention status”Navigate to Settings → Tickets & workflow → Workflow → Audit log retention to see:
- Current retention setting (months or “keep forever”)
- Oldest record date
- Total record count
- Per-month archive summary (file count and size)
Changing retention
Section titled “Changing retention”- Navigate to Settings → Tickets & workflow → Workflow → Audit log retention
- Enter retention period in months (1-120) or leave blank for “keep forever”
- Click Save audit retention
Effect:
- Next daily automatic process uses the new retention period
- No immediate deletion occurs (waits for next scheduled run)
Use cases
Section titled “Use cases”Compliance and accountability
Section titled “Compliance and accountability”Track who created, updated, or deleted records for regulatory audits and internal reviews.
Troubleshooting
Section titled “Troubleshooting”Trace the sequence of actions leading to an issue (e.g., “Who changed this ticket’s status?”, “When was this user deactivated?”).
Security investigations
Section titled “Security investigations”Identify unauthorized access, failed login attempts, or suspicious activity by IP address or user.
Change tracking
Section titled “Change tracking”See what configuration changes were made to settings, templates, or catalog items and when.
Limitations
Section titled “Limitations”The audit log records high-level actions (create, update, delete) but does not log:
- Read-only views (e.g., who viewed a ticket)
- Real-time presence (who is currently viewing a ticket)
- Draft or auto-save actions
- Low-priority background tasks
For real-time presence, see the live presence indicators in the agent interface.