Console Audit Logs
Last updated
Was this helpful?
Last updated
Was this helpful?
The Audit Log feature is designed to provide detailed and comprehensive logging information about all actions performed within the platform. This ensures a solid' chain of custody’, transparency, and accountability, and it also supports investigations by maintaining a clear record of all activities.
The Audit Logs can be searched, filtered, and exported at the Organization level.
Audit Logs are accessed via the Activity button in the main menu and then from Audit Logs in the secondary menu:
Each log entry can have additional properties to view, such as what individual interACT command was run and by whom:
The audit log retention policy is designed to optimize platform performance and data management. Users are encouraged to regularly back up their audit logs to prevent data loss.
Before v.4.19, all audit logs were saved to MongoDB.
After v.4.19, all audit logs are saved to PostgreSQL and retained for 3 months.
Migration Timing: Upon upgrading to v.4.19, audit logs from the past 3 months will be transferred from MongoDB to PostgreSQL.
Exporting Logs: Post v. 4.19, when exporting audit logs from the console user interface, only the logs from the last 3 months will be included in the export.
This ensures that users will always have access to the most recent audit logs in the UI while maintaining the ‘historical logs’ (pre v. 4.19) in the MongoDB.
Information about the retention policy is displayed on the Audit logs page in the Tool Tip shown:
This message says, "Audit logs are retained for 3 months from the date of creation and will be automatically deleted after this period."
The Audit Log advanced filter date and time selection columns are limited to the last 3 months:
There are three options to export your Audit Logs:
Export Logs: Export the logs directly from the console’s Audit Log page.
Send Logs to Syslog Server: Utilize the feature in settings to send logs to your Syslog Server.
Use the API: Refer to our API documentation to retrieve Audit Logs.
See below:
At the Organization level, users can search and filter audit logs within the Console and easily export them in CSV format.
To do this, use the Export button located at the top right corner of the user interface. This action will generate a ZIP file containing the filtered audit logs in CSV format, making it convenient for further analysis and record-keeping:
Below, we provide users with a MongoDB dump script to access and extract historical audit logs, which include any AIR Audit Logs generated before AIR version 4.19.
The backup can be performed using the following commands:
For Single Tier Installation:
docker exec -ti binalyze-air-app-1 sh -c 'mongoexport --uri=mongodb://air.mongodb.server/airdb --collection audit_logs --out /binalyze-air/backups/air-auditlogs-dump.json'
For 2-Tier Installation:
docker exec -ti binalyze-air-app-1 sh -c '. /binalyze-air/config/.env && mongoexport --uri=$AIR_MONGODB_URI --collection audit_logs --out /binalyze-air/backups/air-auditlogs-dump.json'
The dump file path for the backups:
/opt/binalyze-air/volumes/app/binalyze-air/backups/air-auditlogs-dump.json
All logs are forwarded as Common Event Format (CEF) messages when integrated with Syslog/SIEM which is found at Settings > Features > Syslog/SIEM, all logs are forwarded as Common Event Format (CEF) messages.
The API can be used to export your audit logs - for documentation visit: