Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/omni/cluster-management/using-audit-log.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The audit log is stored in the directory specified by `--audit-log-dir <dir>` fl
There are two ways of getting a concatenated audit log using Omni:

1. Using UI. Simply click "Download audit log" in the main menu from the home panel on the lower right.
2. Using `omnictl audit-log` command. This command will stream the audit log from the Omni to the local machine stdout.
2. Using `omnictl audit-log <start-date> <end-date>` command. This command will stream the audit log from the Omni to the local machine stdout.

The second way is preferable if you have a huge audit log, as it will not consume a lot of memory on the client if you look for something specific.

Expand Down
6 changes: 6 additions & 0 deletions public/omni/reference/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ Read audit log from Omni
omnictl audit-log [flags]
```

Optionally specify a date range using the YYYY-MM-DD format:

```
omnictl audit-log <start-date> <end-date> [flags]
```

### Options

```
Expand Down
Loading