4.3

You are viewing documentation for an older version of Lenses.io View latest documentation here

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.