- Prerequisites
- Installation
- Configuration
- Integrations
- Lenses SQL
- Tools
- Release notes
5.0
- Prerequisites
- Installation
- Configuration
- Integrations
- Lenses SQL
- Tools
- Release notes
Audits
The CLI can list and delete audit logs.
List audit logs
lenses-cli audits [--live] [--with-content]
The optional –live flag displays audit in real-time.
The –with-content flag includes the exact changes per action when table mode.
Delete audit logs
lenses-cli audits delete --timestamp=1621244454127
Every audit log older than –timestamp flag value will be deleted.
NOTE: The timestamp value Lenses uses is in MILLISECONDS, so it should have 13 digits.