Searching Log Events
The results are updated to include only log events that were processed within the time range and filters you specified. If an event occurred in the recent past, you must wait to see it in the list. The service typically requires up to 15 minutes for processing.
If the specified time range has more than 100 results for the specified time range, you can select the upper right arrow next to the page number at the bottom of the page to advance to the next page of log events.
Tip
If you get fewer than 100 results on the last page of a results list, you might still have more results, which you can access by select the upper right arrow. If there are more results, Audit prompts you to move forward.To view all the key-value pairs in a log event, see Viewing the Details of a Log Event.
Use the command and required parameters to list audit event logs:
oci audit event list [OPTIONS]
[OPTIONS]
represents the required parameters:- The OCID of the compartment.
- The start and end time you want to search.
Also, many optional parameters are available. For a complete list of flags and variable options for the Audit service CLI commands, see the command line reference for Audit.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
Use the following operation to list audit log events:
Note
This API is not intended for bulk-export operations. For bulk export, see Bulk Export of Audit Log Events.