Skip to content

auditlog rotation schedule

auditlog rotation schedule create

auditlog rotation schedule create [OPTIONS]

Create an audit log rotation schedule.

Options

--type <TYPE>
Type of schedule, e.g. 'Hourly'. Mutually exclusive with --cron.
Type: text

--cron <CRON>
Cron expression, e.g. '0 0 * * *'
Type: text

--retention-hours <AUDIT_RETENTION_HOUR>
Number of hours to retain audit logs, e.g. '168'
Type: integer

--operations <OPERATIONS,[OPERATIONS...]>
Operations to rotate logs for e.g. 'create,delete,pull'
Separate multiple values with commas, or use --operations multiple times.
Type: text

--dry-run/--no-dry-run
Dry run
Type: boolean (flag)


auditlog rotation schedule get

auditlog rotation schedule get

Get the log rotation schedule.


auditlog rotation schedule update

auditlog rotation schedule update [OPTIONS]

Update the audit log rotation schedule.

Options

--type <TYPE>
Type of schedule, e.g. 'Hourly'. Mutually exclusive with --cron.
Type: text

--cron <CRON>
Cron expression, e.g. '0 0 * * *'
Type: text

--retention-hours <AUDIT_RETENTION_HOUR>
Number of hours to retain audit logs, e.g. 168
Type: integer

--operations <OPERATIONS,[OPERATIONS...]>
Operations to rotate logs for e.g. 'create,delete,pull'
Separate multiple values with commas, or use --operations multiple times.
Type: text

--dry-run/--no-dry-run
Dry run
Type: boolean (flag)