Deleting a Log
Delete a log from a log group.
- Open the navigation menu and click Observability & Management. Under Logging, click Logs.
- Under List scope, select the compartment that contains the log that you want to delete.
- Click the name of the log.
- On the log details page, click Delete.
-
In the confirmation dialog box, click Delete.Note
If you're notified that an agent configuration is associated with the log, you can still delete the log.
Use the oci logging log delete command and required parameters to delete a log object from a log group:
oci logging log delete --log-group-id log_group_ocid --log-id log_ocid [OPTIONS]
For a complete list of parameters and variable options for CLI commands, see the Command Line Reference.
Run the DeleteLog operation to delete a log object from a log group.