Audit Logs¶
The audit log records every significant action taken by any user in the system. It is the primary tool for reviewing what happened and when.
Viewing the log¶
Admin → Audit Logs shows the log in reverse chronological order (most recent first). Each entry shows:
- Timestamp — date and time of the action
- User — who performed the action
- Action type — a machine-readable category (e.g.
new_mission,edit_mission,login) - Message — a human-readable description of the specific action
Filtering¶
Use the filter controls at the top of the page to narrow the log:
| Filter | How it works |
|---|---|
| Username | Enter a partial username to show only that user's actions |
| Action type | Select from the dropdown to filter by category |
| Date range | Use the date slider to set a start and end date |
Filters can be combined. Click Apply to update the log view.
Exporting¶
Click Export to download the filtered log in your chosen format:
- CSV — for spreadsheet analysis
- Excel (XLSX) — styled spreadsheet with column headers
- JSON — for programmatic processing
The export includes all records matching the current filter, not just the current page.
Bulk delete¶
To remove old log entries, apply a date filter to isolate the records you want to remove, then click Delete Filtered Records. A confirmation prompt will show the count of records to be deleted.
Warning
Audit log deletion is permanent. Consider exporting the records before deleting them if you need to retain an archive.
Common action types¶
| Action | What triggered it |
|---|---|
login |
User logged in |
new_campaign |
Campaign created |
edit_campaign |
Campaign edited |
new_mission |
Mission created |
edit_mission |
Mission edited |
remove_mission |
Mission deleted |
add_insurance |
Insurance policy added |
add_certification |
User certification recorded |
approve_renewal |
OA or Operator ID renewal approved |
add_drone |
Drone added to fleet |